Configuration Properties
The pipelite-spring-starter module supports configuration via application.properties or application.yml.
External configuration properties via application.properties are under active development for version 0.2.0.
Current configuration is primarily done through Spring beans and the ChannelConfigurer SPI.
|
Planned properties
The following properties are planned for upcoming releases:
| Property | Default | Description |
|---|---|---|
|
|
Enables or disables Pipelite autoconfiguration. |
|
|
Automatically starts the |
|
|
Port for the Undertow HTTP server. |
|
|
Bind address for the HTTP server. |
|
|
Kafka bootstrap servers. |
|
|
Kafka consumer group ID. |
Current configuration via beans
Until external properties are available, use @Configuration beans:
Kafka
@Bean
public KafkaChannelConfigurer kafkaConfigurer() {
return config -> {
config.setBootstrapServers("kafka-broker:9092");
config.setGroupId("my-app-group");
config.setAutoOffsetReset("earliest");
};
}
The KafkaChannelConfigurer bean is automatically detected by the autoconfiguration and applied to the KafkaChannelAdapter.