[enhancement](routineload) add debug conf and set broker.name.ttl = 0 (#23302)
* set broker.name.ttl = 0 * add debug config for librdkafka
This commit is contained in:
@ -91,6 +91,10 @@ Status KafkaDataConsumer::init(std::shared_ptr<StreamLoadContext> ctx) {
|
||||
RETURN_IF_ERROR(set_conf("api.version.request", config::kafka_api_version_request));
|
||||
RETURN_IF_ERROR(set_conf("api.version.fallback.ms", "0"));
|
||||
RETURN_IF_ERROR(set_conf("broker.version.fallback", config::kafka_broker_version_fallback));
|
||||
RETURN_IF_ERROR(set_conf("broker.address.ttl", "0"));
|
||||
if (config::kafka_debug != "disable") {
|
||||
RETURN_IF_ERROR(set_conf("debug", config::kafka_debug));
|
||||
}
|
||||
|
||||
for (auto& item : ctx->kafka_info->properties) {
|
||||
if (starts_with(item.second, "FILE:")) {
|
||||
|
||||
Reference in New Issue
Block a user