Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix handling of NULL pointer in NativeClient::rebalance_protocol #417

Merged
merged 1 commit into from
Dec 30, 2021

Commits on Dec 30, 2021

  1. Fix handling of NULL pointer in NativeClient::rebalance_protocol

    The underlying function call `rdsys::rd_kafka_rebalance_protocol` can
    return a NULL pointer in the case of an error. The callers within
    librdkafka treat this similarly to it returning "NONE", so we will
    return `RebalanceProtocol::None` to emulate this behavior.
    bruceg committed Dec 30, 2021
    Configuration menu
    Copy the full SHA
    de421ba View commit details
    Browse the repository at this point in the history