Skip to content

willeslau/kafka-producer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kafka-producer

helm chart command to deploy cassandra

helm chart command to deploy kafka

helm upgrade --install kafka --namespace kafka incubator/kafka

Commands

Open the container in vscode remote container and run go build

To launch the server, use ./kafka-producer <broker> <topic>

To publish, perform

curl --request POST 'http://localhost:8100/produce' \
--header 'Content-Type: application/json' \
--data-raw '{
    "message": "data"
}'

Simple comparison

On local laptop, running 50000 iterations

No goroutine, 50 connections No goroutine, 50 connections

With goroutine, 50 connections With goroutine, 50 connections

With goroutine, 100 connections With goroutine, 100 connections

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published