question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Improve support for Kafka Streams interactive queries

See original GitHub issue

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 https://github.com/quarkusio/quarkus-quickstarts/pull/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 https://github.com/quarkusio/quarkus/blob/e50393a3cb37a2a444210160fc88c953e81da55d/core/runtime/src/main/java/io/quarkus/runtime/logging/LoggingSetupRecorder.java#L328 )

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
rquiniocommented, Jun 29, 2020

@ejba The problem is that the default value needs to be resolved programmatically, which happens after any mandatory/optional config is validated.

0reactions
alesjcommented, Mar 17, 2022

Can this issue be closed?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Kafka Streams Interactive Queries | Confluent Documentation
Kafka Streams Interactive Queries ¶ ; Make an app instance discoverable to others, Supported, Supported ; Discover all running app instances and their...
Read more >
Interactive Queries - Apache Kafka
Interactive queries allow you to leverage the state of your application from outside your application. The Kafka Streams API enables your applications to...
Read more >
Kafka Streams Interactive Queries | by Abhishek Gupta - Medium
This blog post explores the Interactive Queries feature in Kafka Streams with help of a ... It has support for Supports fault-tolerant local...
Read more >
Supporting Cross Node Interactive Queries In Kafka Streams
The interactive query functionality of Kafka streams has limitations. The ability to query cross nodes is one of that. Let us fix that....
Read more >
HTTP Endpoints With Kafka Streams Interactive Queries
Interactive queries enable Kafka Streams application to query their persistent local stores. The Kafka Streams API also provides a mechanics ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found