Skip to content

Commit

Permalink
Merge pull request #361 from Telecominfraproject/WIFI-13597-fix-kafka…
Browse files Browse the repository at this point in the history
…-producer-using-poll

fix: added flush() for proper shutdown
  • Loading branch information
i-chvets authored Jun 18, 2024
2 parents 02a0eef + b118dcb commit 7b33a69
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 7b33a69

Please sign in to comment.