Adding Kafka producer and detecting actor termination