Utilities and a small framework for building REST services with Jersey, Jackson, and Jetty.
Java
Switch branches/tags
v5.1.0-beta201806200051 v5.1.0-beta201806191956 v5.1.0-beta39 v5.1.0-beta38 v5.1.0-beta37 v5.1.0-beta36 v5.1.0-beta35 v5.1.0-beta34 v5.1.0-beta180812233046 v5.1.0-beta180730185716 v5.1.0-beta180724024536 v5.1.0-beta180723173636 v5.1.0-beta180723023347 v5.1.0-beta180722215127 v5.1.0-beta180718203536 v5.1.0-beta180707004950 v5.1.0-beta180706202701 v5.1.0-beta180703024529 v5.1.0-beta180702220040 v5.1.0-beta180702214311 v5.1.0-beta180702063440 v5.1.0-beta180702063039 v5.1.0-beta180701175749 v5.1.0-beta180701010040 v5.1.0-beta180630224439 v5.1.0-beta180628184841 v5.1.0-beta180628064520 v5.1.0-beta180627203509 v5.1.0-beta180626014959 v5.1.0-beta180622181348 v5.1.0-beta180620183559 v5.1.0-beta180620180739 v5.1.0-beta180620180431 v5.1.0-beta180619025141 v5.1.0-beta180618225004 v5.1.0-beta180618223247 v5.1.0-beta180618214711 v5.1.0-beta180618191747 v5.1.0-beta180615005408 v5.1.0-beta180614233101 v5.1.0-beta180613013021 v5.1.0-beta180612224009 v5.1.0-beta180612043613 v5.1.0-beta180611231144 v5.0.1-beta180812233236 v5.0.1-beta180802235906 v5.0.0 v5.0.0-rc4 v5.0.0-rc3 v5.0.0-rc1 v5.0.0-beta33 v5.0.0-beta32 v5.0.0-beta31 v5.0.0-beta30 v5.0.0-beta29 v5.0.0-beta28 v5.0.0-beta27 v5.0.0-beta26 v5.0.0-beta25 v5.0.0-beta24 v5.0.0-beta23 v5.0.0-beta22 v5.0.0-beta21 v5.0.0-beta20 v5.0.0-beta19 v5.0.0-beta18 v5.0.0-beta17 v5.0.0-beta16 v5.0.0-beta15 v5.0.0-beta14 v5.0.0-beta12 v5.0.0-beta11 v5.0.0-beta10 v5.0.0-beta9 v5.0.0-beta8 v5.0.0-beta7 v5.0.0-beta6 v5.0.0-beta5 v5.0.0-beta3 v5.0.0-beta2 v5.0.0-beta1 v5.0.0-beta180730183336 v5.0.0-beta180726003306 v5.0.0-beta180723195256 v5.0.0-beta180722214927 v5.0.0-beta180718203558 v5.0.0-beta180707072142 v5.0.0-beta180707005130 v5.0.0-beta180706202823 v5.0.0-beta180702222458 v5.0.0-beta180702185100 v5.0.0-beta180701205239 v5.0.0-beta180701175910 v5.0.0-beta180701053749 v5.0.0-beta180701010229 v5.0.0-beta180630224559 v5.0.0-beta180629053850 v5.0.0-beta180628221539 v5.0.0-beta180628184550 v5.0.0-beta180627203620
Nothing to show
Clone or download
Latest commit 6cfc4ba Aug 10, 2018

README.md

Confluent REST Utils

Confluent REST Utils provides a small framework and utilities for writing Java REST APIs using Jersey, Jackson, Jetty, and Hibernate Validator.

See the examples/ directory for a simple demo service.

Security

The REST Application can support both http and https. https is disabled by default. Use the listeners configuration parameter to control which protocol is used.

The https implementation is similar to Kafka, where the server specifies a keystore and trust store. When SSL client auth is configured, the client must authenticate -- the key in the client's keystore must be trusted by the server's trust store.

Metrics

One metrics group exists that spans all listeners. Meaning, when using multiple listeners and observing metrics, the values of each metric are a combination of all listeners. For example, if the maximum latency for a http listener is 50ms and the maximum latency for a https listener is 100ms, the request-latency-max metric will be 100ms, the max across all listeners.

Contribute

License

The project is licensed under the Apache 2 license.