namedtuple is a data structure provided by the Python collections module.
I wrote a python script: #!/usr/bin/env python from kafka import KafkaConsumer consumer = KafkaConsumer('dimon_tcpdump',group_id='zhg_…