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.2.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for nsq2kafka-0.0.2.tar.gz
Algorithm Hash digest
SHA256 ab9da9bc375f9f5c461d5f85e6e16c8e5dab3f125dde7dfd388a48a8da114fd4
MD5 34bb18a9051deb0505063afc1cdc08b0
BLAKE2b-256 557f87232cf8b16aa803406225e98d8d6301b2d8eab52fb31c5303d58928f098

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nsq2kafka-0.0.2-py2.7.egg
Algorithm Hash digest
SHA256 0a106a0749841239c4baccf751c856322423380b3d8ac141ac99914c1405b200
MD5 d0ac5564488ea7a6bcf9a757fbecfdd6
BLAKE2b-256 66c9821bc2d45f8a5af5f8ce46b30c4f6962549d67a67a3585bb5f48e0b90cd9

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