Skip to content

rso-vaje-6315/kafka-tester

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kafka-tester

build

docker run -d -e KUMULUZEE_STREAMING_KAFKA_PRODUCER_BOOTSTRAP-SERVERS=localhost:9092 -e ENV KUMULUZEE_STREAMING_KAFKA_CONSUMER_BOOTSTRAP-SERVERS=localhost:9092 --name kafka-tester rso6315/kafka-tester

Send POST request to: http://{HOST}/v1/kafka/produce/{TOPIC} (example: http://localhost:5000/v1/kafka/produce/NOTIFICATIONS)

with body:

{
	"type": "SEND_NOTIFICATION",
	"data": "{\"email\":{\"email\":\"[email protected]\",\"subject\":\"Hello world!\",\"htmlContent\":\"<h1>Hello world!</h1><p>Hello world from notification</p>\"}}"
}

Sample to produce message to notification service

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published