diff --git a/v2/consumer.py b/v2/consumer.py index ff12e4f..747cef4 100644 --- a/v2/consumer.py +++ b/v2/consumer.py @@ -17,8 +17,8 @@ def create_consumer(partition=-1): # print(msg) topic = msg.topic val = msg.value - # if val.get('properties',{}).get('owner_name') not in ('gmhdgdt', 'gmhdtt'): - # continue + if val.get('properties',{}).get('owner_name') not in ('gmhdgdt', 'gmhdtt'): + continue yield topic, val return consumer