Skip to content

Instantly share code, notes, and snippets.

@merlin-quix
Created March 7, 2023 11:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save merlin-quix/6f68531a7bfca3cec182e38158aee67f to your computer and use it in GitHub Desktop.
Save merlin-quix/6f68531a7bfca3cec182e38158aee67f to your computer and use it in GitHub Desktop.
Gist for article Implementing Gzip Compression in Kafka Using Python
...
else:
producer_compression.send(topic="nginx-log-producer-compression", value=line, key=message_key)
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment