Skip to content

Commit

Permalink
fix: added flush() for proper shutdown
Browse files Browse the repository at this point in the history
  • Loading branch information
i-chvets committed Jun 14, 2024
1 parent c7ed7fb commit b118dcb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/framework/KafkaManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ namespace OpenWifi {
}
Note = Queue_.waitDequeueNotification();
}
Producer.flush();
poco_information(Logger_, "Stopped...");
}

Expand Down Expand Up @@ -328,4 +329,4 @@ namespace OpenWifi {
partitions.front().get_partition()));
}

} // namespace OpenWifi
} // namespace OpenWifi

0 comments on commit b118dcb

Please sign in to comment.