Skip to content

Commit 6b8ec71

Browse files
KiillThemAllkenneth-jia
authored andcommitted
Suppress error from rd_kafka_conf_set while setting enable.manual.events.poll
1 parent 6ba7331 commit 6b8ec71

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/kafka/KafkaClient.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ KafkaClient::KafkaClient(ClientType clientType,
292292
const Properties& properties,
293293
const ConfigCallbacksRegister& extraConfigRegister)
294294
{
295-
static const std::set<std::string> PRIVATE_PROPERTY_KEYS = { "max.poll.records" };
295+
static const std::set<std::string> PRIVATE_PROPERTY_KEYS = { "max.poll.records", "enable.manual.events.poll" };
296296

297297
// Save clientID
298298
if (auto clientId = properties.getProperty(Config::CLIENT_ID))

0 commit comments

Comments
 (0)