Kafka Infra Properties
@ConfigurationProperties(prefix = "spring.kafka" )
Type-safe configuration for the shared Kafka infrastructure.
Bound from spring.kafka.* in application.yml, mirroring the keys used by Spring Boot's own Kafka configuration so existing application-*.yml files remain compatible.
Replaces ad-hoc @Value("${spring.kafka.bootstrap-servers:...}") lookups and keeps the style consistent with MailProperties (mail-service) and SharedConfigProperties.
Constructors
Link copied to clipboard
constructor(bootstrapServers: String = "localhost:29092", schemaRegistryUrl: String = "http://localhost:8081", consumer: KafkaInfraProperties.Consumer = Consumer())