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: v7.1.5 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=72a85a99a0f16ccc9c960565138c572660932a1d;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 b3067202..bf5f8599 100644 --- a/osm_lcm/lcm.py +++ b/osm_lcm/lcm.py @@ -470,7 +470,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) )