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

Make Server Info more generic for Kafka Interactive Queries

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: config, streams
    • Labels:

      Description

      when working to implement kafka streams interactive queries, i see that i can set `application.server` with `host:port`

      i would like a more generic mechanism to set additional properties.

      i'm using cloud foundry containers for my kafka streams app. i scale out my containers using `cf scale`. each gets its own instance id. the instance id can be used in an http header to get cloud foundry to route the http to the correct instance

      https://docs.cloudfoundry.org/concepts/http-routing.html#app-instance-routing

      i realize, per Matthias J Sax, that Kafka Streams only distributes the information but does not use it. Thus, i can put the instance-id as the port.

      Changing the config or add a new one is a public API change are requires a KIP: https://cwiki.apache.org/confluence/display/KAFKA/Kafka+Improvement+Proposals

        Attachments

          Activity

            People

            • Assignee:
              geeky.rajaguru Raja Guru Thirumavalavan
              Reporter:
              mikegrahamcomcast Mike Graham
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: