Skip to content

Improvement: Log warning if there is no output when fetching offsets #4

Description

@tomverelst

There is currently no output if there are no consumer groups.

Expected

Log a warning

How to reproduce

Fetch offsets from a topic without consumer groups.

#/usr/bin/env bash

set -eo pipefail

API_KEY=...
API_SECRET=...
CLUSTER=...
TOPICS=.

cargo build --release

target/release/bridge-cli fetch-source \
-b $CLUSTER \
-o "security.protocol=SASL_SSL" \
-o "sasl.mechanism=PLAIN" \
-o "sasl.username=$API_KEY" \
-o "sasl.password=$API_SECRET" \
-t TOPICS

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions