Skip to content

Instantly share code, notes, and snippets.

@merlin-quix
Last active March 7, 2023 11:54
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/ce8474fdaec2ed7e09b2f2e61e30e58e to your computer and use it in GitHub Desktop.
Save merlin-quix/ce8474fdaec2ed7e09b2f2e61e30e58e 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-compressionv2", value=line, key=message_key)
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment