Adding improvements to InteractiveQueryService

New API additions.

Resolves https://github.com/spring-cloud/spring-cloud-stream-binder-kafka/issues/942
This commit is contained in:
Soby Chacko
2020-10-28 18:58:02 -04:00
parent 50f4470fcf
commit 97e3b61d14
3 changed files with 46 additions and 3 deletions

View File

@@ -1049,6 +1049,20 @@ else {
}
----
==== Other API methods available through the InteractiveQueryService
Use the following API method to retrieve the `KeyQueryMetadata` object associated with the combination of given store and key.
```
public <K> KeyQueryMetadata getKeyQueryMetadata(String store, K key, Serializer<K> serializer)
```
Use the following API method to retrieve the `KakfaStreams` object associated with the combination of given store and key.
```
public <K> KafkaStreams getKafkaStreams(String store, K key, Serializer<K> serializer)
```
=== Health Indicator
The health indicator requires the dependency `spring-boot-starter-actuator`. For maven use: