public interface IKafkaSettingsMapConsumer extends AutoCloseable
KafkaContinuousConsumerBuilder
class to create and configure your consumer.Modifier and Type | Method and Description |
---|---|
org.thales.punch.settings.api.ISettingsMap |
readLatestSettingsMap(Duration timeout)
Read the latest json settings map from a topic.
|
close
org.thales.punch.settings.api.ISettingsMap readLatestSettingsMap(Duration timeout) throws TimeoutException
Note that the record key is not checked. This API is called for reading the admin topic used to store the channel statuses, or the assignement topic.
timeout
- how much time you accept to waitTimeoutException
- if you hangCopyright © 2014–2023. All rights reserved.