Skip to content

rbrw/trapperkeeper

This branch is 1 commit ahead of, 20 commits behind puppetlabs/trapperkeeper:main.

Folders and files

NameName
Last commit message
Last commit date
May 8, 2023
Mar 20, 2017
May 10, 2023
Apr 5, 2016
Feb 6, 2023
Feb 19, 2014
Feb 8, 2023
Jan 21, 2014
May 10, 2023
May 10, 2023
Mar 6, 2020
Mar 6, 2020
Mar 14, 2023
Jun 6, 2022
Apr 15, 2014
Oct 28, 2013
Oct 13, 2016
Feb 29, 2016
Mar 14, 2023
Feb 6, 2023

Repository files navigation

Trapperkeeper logo

Trapperkeeper

Build Status

Trapperkeeper is a Clojure framework for hosting long-running applications and services. You can think of it as a sort of "binder" for Ring applications and other modular bits of Clojure code.

Installation

Add the following dependency to your project.clj file:

Clojars Project

Community

  • Bug reports and feature requests: you can submit a Github issue, but we use JIRA as our main issue tracker.
  • freenode: #trapperkeeper
  • Join the chat at https://gitter.im/puppetlabs/trapperkeeper

Documentation

You can find a quick-start, example code, and lots and lots of documentation in our:

Lein Template

A Leiningen template is available that shows a suggested project structure:

lein new trapperkeeper my.namespace/myproject

Once you've created a project from the template, you can run it via the lein alias:

lein tk

Note that the template is not intended to suggest a specific namespace organization; it's just intended to show you how to write a service, a web service, and tests for each.

Related Projects

Here are some additional projects that provide Trapperkeeper services, and other related functionality:

  • trapperkeeper-webserver-jetty9: a Jetty9-based webserver for use with TK applications
  • trapperkeeper-rpc: a TK service that allows you to easily build a way to call remote TK services over RPC
  • trapperkeeper-metrics: a TK service that manages the life cycle of a MetricRegistry, so that all of your TK services can register metrics with a common configuration syntax.
  • trapperkeeper-comidi-metrics: a TK utility library that provides middleware to automatically generate metrics for all requests to each of your bidi/comidi HTTP routes.
  • trapperkeeper-status: a TK service that provides a mechanism for registering status callbacks for all of your other TK services, and web API for requesting status information about the entire TK system.
  • trapperkeeper-scheduler: a TK service that provides an API for scheduling periodic background tasks

License

Copyright © 2013 Puppet Labs

Distributed under the Apache License, Version 2.0

Support

Please log tickets and issues at our JIRA tracker. There is also a #trapperkeeper channel on Freenode as well as Join the chat at https://gitter.im/puppetlabs/trapperkeeper.

About

A services framework for Clojure / JVM applications.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Clojure 99.7%
  • Other 0.3%