Skip to main content

Reads from NSQ, Publishes to Kafka

Project description

Reads from NSQ, Publishes to Kafka

Installation

pip install nsq2kafka

Examples

Basic example

nsq2kafka --nsq-topic=test --nsq-nsqd-tcp-addresses=localhost:4150

Realistic example

nsq2kafka --nsq-topic=json_clicks \
          --nsq-lookupd-http-addresses=lookupd1.example.com:4161,lookupd2.example.com:4161 \
          --nsq-max-in-flight=5000 \
          --nsq-channel=nsq2Kafka \
          --kafka-bootstrap-servers=kafka1.example.com:9092,kafka2.exampkel.com:9092 \
          --kafka-topic=click_stream_json \
          --kafka-message-key=user_id

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nsq2kafka-0.0.1.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

nsq2kafka-0.0.1-py2.7.egg (6.9 kB view details)

Uploaded Source

File details

Details for the file nsq2kafka-0.0.1.tar.gz.

File metadata

  • Download URL: nsq2kafka-0.0.1.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for nsq2kafka-0.0.1.tar.gz
Algorithm Hash digest
SHA256 34b8800b36d60993df77fb1343bc5641e4f049f7cb2737f8f5347dd2c86e6b4c
MD5 7d2a7d8ec6fb5358cacb46c644aae6c7
BLAKE2b-256 173bd603c5bc539aaae6dc6bf3c53de5ab71e086acf12d39bd224b62388c5a2c

See more details on using hashes here.

File details

Details for the file nsq2kafka-0.0.1-py2.7.egg.

File metadata

File hashes

Hashes for nsq2kafka-0.0.1-py2.7.egg
Algorithm Hash digest
SHA256 1d899797827229a0125b26f4067c30be53875595bc47d9440f84c86dadf7ea71
MD5 0c9cf88e2e79b5ed32e5a05b220271b1
BLAKE2b-256 c20d5bf040f6977f015074c243dc0747a2ac167a6b0f2f3321fdd5c7a1b2c02c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page