Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

whether support hot update when my config file add db and collection? #5

Open
sunweiconfidence opened this issue Oct 23, 2019 · 2 comments

Comments

@sunweiconfidence
Copy link

@rwynn
if i start the route81 process using existing config file, then i want to add a new db and collection to config file but i don't want restart the process, can you support hot update for it? thanks

@sunweiconfidence
Copy link
Author

@rwynn
whether can support sync mongo db and collection's change stream to kafka topic's specific partition? because i have one kafka cluster with 3 machines, 3 broker and 3 partition in total, thanks

@rwynn
Copy link
Owner

rwynn commented Oct 23, 2019

@sunweiconfidence the code uses PartitionAny when sending the data. Have you tried it? Put all 3 of your brokers host/port in the setting named kafka.

https://github.com/rwynn/route81/blob/v1.2.0/route81.go#L1428

I don't think I will be able to support hot reload as I'm not sure how to do that correctly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants