Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-10175

MetadataCache::getClusterMetadata returns null for offline replicas

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      This line in the code always returns null:

      MetadataCache::getClusterMetadata

      The reason is that the `map(node)` part uses `aliveNodes` to create `Node` object otherwise default to `null`. Offline replicas thus end up always as null.

      Attachments

        Activity

          People

            ijuma Ismael Juma
            vikasconfluent Vikas Singh
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: