gmhdgdt,gmhdtt
This commit is contained in:
parent
f96f5da864
commit
1dc9f42471
@ -17,8 +17,8 @@ def create_consumer(partition=-1):
|
|||||||
# print(msg)
|
# print(msg)
|
||||||
topic = msg.topic
|
topic = msg.topic
|
||||||
val = msg.value
|
val = msg.value
|
||||||
# if val.get('properties',{}).get('owner_name') not in ('gmhdgdt', 'gmhdtt'):
|
if val.get('properties',{}).get('owner_name') not in ('gmhdgdt', 'gmhdtt'):
|
||||||
# continue
|
continue
|
||||||
yield topic, val
|
yield topic, val
|
||||||
|
|
||||||
return consumer
|
return consumer
|
||||||
|
Loading…
Reference in New Issue
Block a user