Closed ddehghan closed 6 years ago
Dynamic config reload is tricky to implement in the way Divolte is setup internally. We had some plans previously to perhaps make it work, but I have to say that these days most deployments are immutable and as such a config reload without building a new container doesn't typically happen. It would probably be a better path to create separate tools for testing configurations and mappings.
As for the Kafka exception, I haven't seen that before. Perhaps it's a good idea to take it on the mailing list and then also share the relevant parts of your configuration. It seems more specific to how Kafka is setup for you than to anything that Divolte does.
As @friso noted this isn't something we're planning on working on for now.
The GeoIP database is a special-case: this is routinely updated in the background while Divolte is running so we support that. (It was fairly easy to implement and the impact of re-loading it is very narrow in scope.)
Thanks for this great service.
We are running Divolte in a docker container and it would speed of development and testing of the config file if we can just copy the file into the container and have it be reloaded automatically.
Reading the documentations it seems like this is done for the geo2ip database file. Is that true?
Thanks again.
Also we have a bug to report on Divolte 0.6:
When we start the service in the container and run it again we get this error:
It seems that when kafka-producer was initialized then stopping the service does not clean up something so restarting it will cause this error.
The service actually works afterward and sends the data to kafka successfully.