Skip to content

Commit 280ae24

Browse files
committed
fix: added flush() for proper shutdown
https://telecominfraproject.atlassian.net/browse/WIFI-13597 Signed-off-by: Ivan Chvets <ivan.chvets@kinarasystems.com>
1 parent 5ddcf9a commit 280ae24

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/framework/KafkaManager.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@ namespace OpenWifi {
123123
}
124124
Note = Queue_.waitDequeueNotification();
125125
}
126+
Producer.flush();
126127
poco_information(Logger_, "Stopped...");
127128
}
128129

@@ -328,4 +329,4 @@ namespace OpenWifi {
328329
partitions.front().get_partition()));
329330
}
330331

331-
} // namespace OpenWifi
332+
} // namespace OpenWifi

0 commit comments

Comments
 (0)