Skip to content
/ krp Public

A REST service that makes writing data to Apache Kafka easy.

License

Notifications You must be signed in to change notification settings

echo8/krp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

KRP

A REST service that makes writing data to Apache Kafka easy.

Documentation

Detailed documentation can be found at https://www.echo8.dev/krp

Example

Copy the following into a file called config.yaml:

endpoints:
  /messages:
    routes:
      - topic: test-topic1
        producer: alpha
producers:
  alpha:
    clientConfig:
      bootstrap.servers: localhost:9092

Run KRP like this:

krp -config path/to/config.yaml

Finally send some data to Kafka:

curl -X POST -H 'Content-Type: application/json' http://localhost:8080/messages -d '
{"messages": [{"value": {"string": "hello world"}}]}'

About

A REST service that makes writing data to Apache Kafka easy.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages