Undefined behaviour in kafka-to-nexus.cxx
Created by: SkyToGround
The signal handler (signal_handler()
) in kafka-to-nexus.cxx implements undefined behaviour. A list (that is not complete) of functions that you are allowed to call can be found here: http://man7.org/linux/man-pages/man7/signal-safety.7.html
Note that calling any of the printf
family of functions in a signal handler is undefined behaviour.