Skip to main content

No project description provided

This project has been archived.

The maintainers of this project have marked this project as archived. No new releases are expected.

Project description

ISIS-specific Kafka tools. Deserialises the ESS flatbuffers blobs from Kafka.

Also allows replaying data in a topic.

Usage

To run the latest version, install uv and use uvx saluki <args>.

alternatively you can pip install saluki and run it from a venv.

See saluki --help for all options.

listen - Listen to a topic for updates

saluki listen mybroker:9092/mytopic - This will listen for updates for mytopic on mybroker.

Filter to specific schemas

saluki listen mybroker:9092/mytopic -f f144 -f f142 - This will listen for updates but ignore messages with schema IDs of f142 or f144

consume- Consume from a topic

saluki consume mybroker:9092/mytopic -p 1 -o 123456 -m 10 - This will print 9 messages before (and inclusively the offset specified) offset 123456 of mytopic on mybroker, in partition 1.

Use the -g flag to go the other way, ie. in the above example to consume the 9 messages after offset 123456

You can also filter out messages to specific schema(s) with the -f flag, like the example above for listen.

sniff - List all topics and their high, low watermarks and number of messages

saluki sniff mybroker:9092

Output looks as follows:

$ saluki sniff mybroker:9092

INFO:saluki:Cluster ID: redpanda.0faa4595-7298-407e-9db7-7e2758d1af1f
INFO:saluki:Brokers:
INFO:saluki:    192.168.0.111:9092/1
INFO:saluki:    192.168.0.112:9092/2
INFO:saluki:    192.168.0.113:9092/0
INFO:saluki:Topics:
INFO:saluki:    MERLIN_events:
INFO:saluki:            0 - low:262322729, high:302663378, num_messages:40340649
INFO:saluki:    MERLIN_runInfo:
INFO:saluki:            0 - low:335, high:2516, num_messages:2181
INFO:saluki:    MERLIN_monitorHistograms:
INFO:saluki:            0 - low:7515, high:7551, num_messages:36

play - Replay data from one topic to another

Between offsets

saluki play mybroker:9092/source_topic mybroker:9092/dest_topic -o 123 125 - This will forward messages at offset 123, 124 and 125 in the source_topic to the dest_topic

Between timestamps

saluki play mybroker:9092/source_topic mybroker:9092/dest_topic -t 1762209990 1762209992 - This will forward messages between the two given timestamps.

Developer setup

pip install -e .[dev]

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

saluki-0.0.5.tar.gz (94.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

saluki-0.0.5-py3-none-any.whl (10.7 kB view details)

Uploaded Python 3

File details

Details for the file saluki-0.0.5.tar.gz.

File metadata

  • Download URL: saluki-0.0.5.tar.gz
  • Upload date:
  • Size: 94.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for saluki-0.0.5.tar.gz
Algorithm Hash digest
SHA256 763425c991bebea760071f78e4ba0321bbfdfb9f47ea1096dc63b6b242b5ff19
MD5 51bc15a84ffb8cfe5bc187dfc3b2b302
BLAKE2b-256 71a44e545bd3ce010dbd398ce7b878249bc2cd5beeb96c008509a8835e2ba35c

See more details on using hashes here.

Provenance

The following attestation bundles were made for saluki-0.0.5.tar.gz:

Publisher: python-publish.yml on ISISComputingGroup/saluki

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file saluki-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: saluki-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 10.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for saluki-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 46a1fdfae01b0776a9ad82bcf7ba1d6cd9f1c8bdc9ec6363247766a7e0e9c4f9
MD5 d179fc3a7cba892981c6fcf5fcac146f
BLAKE2b-256 b4aaa4feef62bd0890b81165fe6cb4969822e93b3e13608fab7ca7ef3bf3540f

See more details on using hashes here.

Provenance

The following attestation bundles were made for saluki-0.0.5-py3-none-any.whl:

Publisher: python-publish.yml on ISISComputingGroup/saluki

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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