Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ librdkafka v2.1.1 is a maintenance release:
pkg-config `Requires.private` field (@FantasqueX, @stertingen, #4180).
* Fixes certain cases where polling would not keep the consumer
in the group or make it rejoin it (#4256).
* Fix to the C++ set_leader_epoch method of TopicPartitionImpl,
that wasn't storing the passed value (@pavel-pimenov, #4267).

## Fixes

Expand Down
2 changes: 1 addition & 1 deletion src-cpp/rdkafkacpp_int.h
Original file line number Diff line number Diff line change
Expand Up @@ -1289,7 +1289,7 @@ class TopicPartitionImpl : public TopicPartition {
}

void set_leader_epoch(int32_t leader_epoch) {
leader_epoch_ = leader_epoch_;
leader_epoch_ = leader_epoch;
}

std::ostream &operator<<(std::ostream &ostrm) const {
Expand Down