Skip to content

Conversation

@TaiJuWu
Copy link
Collaborator

@TaiJuWu TaiJuWu commented Dec 16, 2025

The original error show java.util.Collections$3@af78c87, after change
it show the [config.key.3, config.key.1, config.key.2]

Example:

  @Test
  def testPropertiesContent(): Unit = {
    val props = new Properties()
    props.put("config.key.1", "value1")
    props.put("config.key.2", "value2")
    props.put("config.key.3", "value3")

    System.err.println("\nProperties content:") System.err.println(s"
props = $props")        // output: props = {config.key.3=value3,
config.key.2=value2, config.key.1=value1}

    System.err.println(s"\n  props.keySet() = ${props.keySet()}")  //
output: props.keySet() = [config.key.3, config.key.2, config.key.1]

    System.err.println(s"\n  Set from keys = ${props.keys()}")
// output: Set from keySet = java.util.Collections$3@af78c87
  }

Reviewers: Lan Ding isDing_L@163.com, Ken Huang s7133700@gmail.com,
PoAn Yang payang@apache.org

@github-actions github-actions bot added triage PRs from the community core Kafka Broker small Small PRs labels Dec 16, 2025
@github-actions github-actions bot removed the triage PRs from the community label Dec 17, 2025
@FrankYang0529 FrankYang0529 merged commit be6f22f into apache:trunk Dec 17, 2025
27 checks passed
@TaiJuWu TaiJuWu deleted the fix branch December 17, 2025 13:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core Kafka Broker small Small PRs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants