Skip to content

Conversation

azat
Copy link
Member

@azat azat commented May 25, 2025

Since in this case rd_kafka_memberid() return NULL, and std::string cannot be constructed from NULL 1.

Refs: ClickHouse/ClickHouse#80674 (comment)
Upstream: mfontanini#320

@azat azat merged commit 114d5be into ClickHouse/release-0.4.1 May 25, 2025
azat added a commit to azat/ClickHouse that referenced this pull request May 25, 2025
azat added a commit to azat/ClickHouse that referenced this pull request May 25, 2025
…om NULL

It was likely an issue when the connection to broker had been failed.

Refs: ClickHouse#80674
Refs: ClickHouse/cppkafka#4
@azat azat deleted the get_member_id-crash branch May 25, 2025 16:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant