ESS command-line message consumer
-
Kafka commandline message consumer specific to handle ESS flatbuffer messages of types
name description pl72 Run start 6s4t Run stop f142 Log data ev42 Event data x5f2 Status messages answ File-writer command response wrdn File-writer finished writing ADAr EPICS area detector data
Installing
ess_message_consumer
Create virtual environment with Python 3.6 or later:
git clone https://github.com/ebadkamil/ess-message-consumer.git
cd ess-message-consumer
python3 -m venev {env_name}
Activate virtual environment and install ess-message-consumer:
source {env_name}/bin/activate
pip install .
Usage:
-
Start consuming ESS flatbuffer messages from given topics
start_consumer -b {broker_address} -t {topics_to_consume_msg_from} --rich_console broker_address: for eg. "localhost:9092" topics_to_consume_msg_from: "topic_1, topic_2, ..." rich_console: optional for rich layout console. -
List all available topics on a broker
list_available_topics -b {broker_address} -
Produce messages on a kafka-topic for debugging purposes:
start_producer -b {broker_address} # This will prompt you to input following information in order: # 1. Topic Name: {topic_name_to_publish_data_to} # 2. Message to send: {put your message here} # 3. Exit ? (y/n)
Metadata
Release files for ess-message-consumer 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| ess-message-consumer-0.1.3.tar.gz | 8.3 kB | Without provenance | Details |
Release files / ess-message-consumer-0.1.3.tar.gz
| Download URL | ess-message-consumer-0.1.3.tar.gz |
|---|---|
| Size | 8.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2996c293b0e950b71552e1a0dee7e1516852ce056fbe9a515132a9c5c1256a62
|
|
BLAKE2b-256 checksum How to use checksums |
5461439276f0a5fd7e6cae4adba688b58bae7518400cab0f414d153954aa0380
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.8.5
|
Security for ess-message-consumer 0.1.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.