[kea-dev] Is it possible for hooks to hande server shutdown?

Dave Cole davecole at nbnco.com.au
Sun Oct 1 23:23:53 UTC 2017

I have been working on a hook to publish events to a Kafka server.  The Kafka library creates a thread for communication with the server, which creates a problem when the kea server is stopped as there might still be messages that have not been delivered to the Kafka server.

There is a simple way to monitor the Kafka thread.  Is there any way for the hook to detect server shutdown and delay process termination until delivery to Kafka has completed?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/kea-dev/attachments/20171001/dbe00999/attachment.html>

More information about the kea-dev mailing list