Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information