Skip to content

chore: improve rust-rdkafka maintenance path#839

Open
oab24413gmai wants to merge 1 commit into
fede1024:masterfrom
oab24413gmai:maint/20260525144739
Open

chore: improve rust-rdkafka maintenance path#839
oab24413gmai wants to merge 1 commit into
fede1024:masterfrom
oab24413gmai:maint/20260525144739

Conversation

@oab24413gmai

Copy link
Copy Markdown

Summary:

  • Add focused unit tests to the existing #[cfg(test)] module in src/topic_partition_list.rs covering edge cases: inserting a duplicate (topic, partition) pair, iterating over an empty TopicPartitionList, setting offsets on partitions not yet added (verifying the documented error/None branch), and round-tripping through find_partition for a missing topic. Tests only — no behavior changes.
  • Keep the change narrow so it is straightforward to review.

Notes:

  • I kept this scoped to the relevant implementation and tests.

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