a year ago
Description: Simple Kafka Setup For Small Projects
Category: Queues
9 Replies
a year ago
how can i connect this from node js server in developement and production enviroment
25 days ago
I think the template description should include the following to complete the installation/start-using-it:
1 - Expose the service with a TCP proxy pointing to port 9092, this will provide a public url like: random-url.proxy.rlwy.net:12354
2 - Modify the env KAFKA_ADVERTISED_LISTENERS to the value generated in step1, like this: PLAINTEXT://public-tcp-url-generate-in-step-1:port
I had to do both configurations to get it working for me, maybe it will help the next one
root101
I think the template description should include the following to complete the installation/start-using-it:1 - Expose the service with a TCP proxy pointing to port 9092, this will provide a public url like: random-url.proxy.rlwy.net:123542 - Modify the env KAFKA_ADVERTISED_LISTENERS to the value generated in step1, like this: PLAINTEXT://public-tcp-url-generate-in-step-1:portI had to do both configurations to get it working for me, maybe it will help the next one
25 days ago
Will add this thank you!
The current setup was made for use using the private url but I will add support for public url as well
angobello
Will add this thank you!The current setup was made for use using the private url but I will add support for public url as well
25 days ago
Yes, I realized that it is designed for internal use, but for local testing we need a public URL... that's why I think it's valid to explain it in the description.
In any case, very good template, thanks for the contribution
23 days ago
Hey, may I suggest an improvement?
It would be possible to add a volume to the template?, so that the sent messages are saved in case the service is restarted.
I tried to do it on my own but I got a permissions error.
It would be great if you could help me with this.
Best Regards
root101
Hey, may I suggest an improvement?It would be possible to add a volume to the template?, so that the sent messages are saved in case the service is restarted.I tried to do it on my own but I got a permissions error.It would be great if you could help me with this.Best Regards
23 days ago
Sure will do
root101
Yes, I realized that it is designed for internal use, but for local testing we need a public URL... that's why I think it's valid to explain it in the description.In any case, very good template, thanks for the contribution
18 days ago
Hello,
Added the public url as KAFKA_PUBLIC_URL, the volume stuff is trickier than i thought but currently hammering at it
angobello
Hello,Added the public url as KAFKA_PUBLIC_URL, the volume stuff is trickier than i thought but currently hammering at it
18 days ago
Amazing, thanks, i will test this later on.
EDIT: i just test it, it work perfectly...