Skip to content

Improve support for Kafka Streams interactive queries #10064

Open

Description

Description

The idea would be to industrialize the support of Kafka Streams interactive queries when "querying remote state stores for the entire app".

This was discussed in quarkusio/quarkus-quickstarts#578 , as the quickstart demonstrates interactive queries, but it's not very test-friendly and requires some boilerplate config.

Implementation ideas

It looks like the extension could pre-configure quarkus.kafka-streams.application-server to ${hostname}:${quarkus.http.port}, if a quarkus http extension ("RPC endpoint") is also present.

Relying on the presence of a HOSTNAME env variable is not cross-platform, so it might be necessary to determine it programmatically via Java INetAddress APIs (similar to

handler.setHostname(config.hostname.orElse(getQualifiedHostName()));
)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions