Package com.bakdata.kafka.streams
Class StreamsConfigX
java.lang.Object
com.bakdata.kafka.streams.StreamsConfigX
Class for simplified access to configs provided by
StreamsConfig
-
Constructor Summary
ConstructorsConstructorDescriptionStreamsConfigX
(@NonNull org.apache.kafka.streams.StreamsConfig streamsConfig) -
Method Summary
Modifier and TypeMethodDescriptionboolean
getAppId()
Get the application id of the underlyingStreamsConfig
Optional<org.apache.kafka.streams.state.HostInfo>
Retrieves the host information based on the application server configuration.Get the bootstrap servers of the underlyingStreamsConfig
Get all configs of the underlyingStreamsConfig
@NonNull org.apache.kafka.streams.StreamsConfig
int
hashCode()
toString()
-
Constructor Details
-
StreamsConfigX
public StreamsConfigX(@NonNull @NonNull org.apache.kafka.streams.StreamsConfig streamsConfig)
-
-
Method Details
-
getAppId
Get the application id of the underlyingStreamsConfig
- Returns:
- application id
- See Also:
-
StreamsConfig.APPLICATION_ID_CONFIG
-
getBoostrapServers
Get the bootstrap servers of the underlyingStreamsConfig
- Returns:
- list of bootstrap servers
- See Also:
-
StreamsConfig.BOOTSTRAP_SERVERS_CONFIG
-
getKafkaProperties
Get all configs of the underlyingStreamsConfig
- Returns:
- Kafka configs
- See Also:
-
AbstractConfig.originals()
-
getApplicationServer
Retrieves the host information based on the application server configuration. -
getStreamsConfig
@NonNull public @NonNull org.apache.kafka.streams.StreamsConfig getStreamsConfig() -
equals
-
hashCode
public int hashCode() -
toString
-