Giter Site home page Giter Site logo

zkxil / rest-utils Goto Github PK

View Code? Open in Web Editor NEW

This project forked from confluentinc/rest-utils

0.0 2.0 0.0 653 KB

Utilities and a small framework for building REST services with Jersey, Jackson, and Jetty.

License: Apache License 2.0

Java 99.99% HTML 0.01%

rest-utils's Introduction

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.

rest-utils's People

Contributors

ewencp avatar norwood avatar maxzheng avatar xvrl avatar big-andy-coates avatar ijuma avatar c0urante avatar alexlod avatar mageshn avatar lbradstreet avatar gwenshap avatar jonchiu avatar nehanarkhede avatar confluentjenkins avatar aayars avatar the-alchemist avatar cmccabe avatar hachikuji avatar wicknicks avatar blbradley avatar mohnishbasha avatar mandrean avatar chizar avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.