Sign inSign up

lefebsy/json2kafka

By lefebsy

•Updated over 5 years ago

Image
0

3.9K

lefebsy/json2kafka repository overview

Build Status GitHub release (latest SemVer) Docker Image Version (latest semver) Gitpod ready-to-code

⁠REST microService : Json to Kafka

⁠Main features

  • Designed for kubernetes, all settings can be setted by environnements variables or a configmap appsettings.json file
  • Liveness and readiness probes ready /health
  • Can publish on a Kafka with TLS and Sasl username/password
  • The REST API can be exposed with a simple basicAuth login/password
  • Logs JSON formated compliant with kubernetes annotations elastic.co to be parsed and displayed in Kibana

⁠How to use

  • Method : POST
  • URI : /api/msg
  • Content-Type : application/json
  • Format : UTF-8
  • Body : Json document
  • [BasicAuth] : username and password header

⁠Configuration

⁠It is not !

  • There is NO authentication impersonation, REST credentials are not played as Kafka credentials
  • This code is not fully tested, it is a very simple project to test Kafka in dotnetCore microservice

Tag summary

Content type

Image

Digest

Size

50.5 MB

Last updated

almost 6 years ago

docker pull lefebsy/json2kafka