From: tierno Date: Thu, 16 Jul 2020 11:26:02 +0000 (+0000) Subject: fix 1131 Get non-procesed kafka messages at start X-Git-Tag: v8.0.0rc3~6 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=refs%2Fchanges%2F29%2F9429%2F2;p=osm%2FLCM.git fix 1131 Get non-procesed kafka messages at start Change-Id: I4a775fc3bd0f1005af18f93d700386e1be168623 Signed-off-by: tierno --- diff --git a/osm_lcm/lcm.py b/osm_lcm/lcm.py index b914604..dd7c4ec 100644 --- a/osm_lcm/lcm.py +++ b/osm_lcm/lcm.py @@ -483,7 +483,7 @@ class Lcm: topics = ("ns", "vim_account", "wim_account", "sdn", "nsi", "k8scluster", "k8srepo", "pla") topics_admin = ("admin", ) await asyncio.gather( - self.msg.aioread(topics, self.loop, self.kafka_read_callback), + self.msg.aioread(topics, self.loop, self.kafka_read_callback, from_beginning=True), self.msg_admin.aioread(topics_admin, self.loop, self.kafka_read_callback, group_id=False) )