Skip to content

Instantly share code, notes, and snippets.

View dpkp's full-sized avatar

Dana Powers dpkp

  • San Francisco, CA
View GitHub Profile
@dpkp
dpkp / gist:452ea2080d54bb615ae4779851ada689
Created June 4, 2016 21:14
get specific kafka message
#!/usr/bin/python
import argparse
import socket
import time
from kafka.conn import BrokerConnection
from kafka.protocol.fetch import FetchRequest_v1