public class KafkaConfigurationStoreImpl extends Object implements org.thales.punch.settings.api.IConfigurationStore
| Constructor and Description |
|---|
KafkaConfigurationStoreImpl(String bootstrapServers,
String topic,
org.thales.punch.platform.api.pojo.JavaStoreSecurity securityStores) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkIfPathExist(String path) |
void |
close() |
org.thales.punch.settings.api.ISettingsMap |
readMap(String path) |
void |
refresh() |
void |
rmr(String path) |
org.thales.punch.settings.api.IConfigurationStore |
startBlocking() |
void |
writeMap(org.thales.punch.settings.api.ISettingsMap value,
String path) |
public KafkaConfigurationStoreImpl(String bootstrapServers, String topic, org.thales.punch.platform.api.pojo.JavaStoreSecurity securityStores) throws TimeoutException
bootstrapServers - the bootstrap server addresstopic - the topic namesecurityStores - the Object containing the truststore and keystore information. If not null, activate ssl.TimeoutExceptionpublic void refresh()
throws TimeoutException
refresh in interface org.thales.punch.settings.api.IConfigurationStoreTimeoutExceptionpublic org.thales.punch.settings.api.ISettingsMap readMap(String path)
readMap in interface org.thales.punch.settings.api.IConfigurationStorepublic void writeMap(org.thales.punch.settings.api.ISettingsMap value,
String path)
writeMap in interface org.thales.punch.settings.api.IConfigurationStorepublic org.thales.punch.settings.api.IConfigurationStore startBlocking()
startBlocking in interface org.thales.punch.settings.api.IConfigurationStorepublic void close()
close in interface AutoCloseableclose in interface org.thales.punch.settings.api.IConfigurationStorepublic boolean checkIfPathExist(String path)
checkIfPathExist in interface org.thales.punch.settings.api.IConfigurationStorepublic void rmr(String path)
rmr in interface org.thales.punch.settings.api.IConfigurationStoreCopyright © 2014–2023. All rights reserved.