mirror of
https://github.com/valitydev/wb-list-manager.git
synced 2024-11-06 01:35:17 +00:00
Fix stream (#26)
This commit is contained in:
parent
9c8ac08b05
commit
e9b6d5b7be
@ -35,10 +35,12 @@ public class StartupListener implements ApplicationListener<ContextRefreshedEven
|
|||||||
log.info("StartupListener start stream kafkaStreams: {}", kafkaStreams.metadataForAllStreamsClients());
|
log.info("StartupListener start stream kafkaStreams: {}", kafkaStreams.metadataForAllStreamsClients());
|
||||||
|
|
||||||
if (wbListCorrectionStreamProperties.getEnabled()) {
|
if (wbListCorrectionStreamProperties.getEnabled()) {
|
||||||
wbListStreamProperties.put("application.id", wbListCorrectionStreamProperties.getApplicationId());
|
Properties properties = new Properties();
|
||||||
wbListStreamProperties.put("client.id", wbListCorrectionStreamProperties.getClientId());
|
properties.putAll(wbListStreamProperties);
|
||||||
|
properties.put("application.id", wbListCorrectionStreamProperties.getApplicationId());
|
||||||
|
properties.put("client.id", wbListCorrectionStreamProperties.getClientId());
|
||||||
kafkaStreamsWbListErrorRowsCorrection =
|
kafkaStreamsWbListErrorRowsCorrection =
|
||||||
wbListErrorRowsCorrectionStreamFactory.create(wbListStreamProperties);
|
wbListErrorRowsCorrectionStreamFactory.create(properties);
|
||||||
kafkaStreamsWbListErrorRowsCorrection.start();
|
kafkaStreamsWbListErrorRowsCorrection.start();
|
||||||
log.info("StartupListener start stream kafkaStreamsWbListErrorRowsCorrection: {}",
|
log.info("StartupListener start stream kafkaStreamsWbListErrorRowsCorrection: {}",
|
||||||
kafkaStreamsWbListErrorRowsCorrection.metadataForAllStreamsClients());
|
kafkaStreamsWbListErrorRowsCorrection.metadataForAllStreamsClients());
|
||||||
|
Loading…
Reference in New Issue
Block a user