IBM / ignition

Framework for VIM and Lifecycle driver applications

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ensure Kafka messages are flushed on shutdown and the producer is closed

dvaccarosenna opened this issue · comments

During shutdown the KafkaDeliveryService may have a KafkaProducer with messages waiting to be submitted. If this messages are not flushed then it's possible they will be lost and this can cause side effects such as the loss of lifecycle transition responses which result in a task timeout in the intent engine.