Skip to content

Commit

Permalink
See #469. Refactored.
Browse files Browse the repository at this point in the history
  • Loading branch information
j3-signalroom committed Nov 18, 2024
1 parent 00bc345 commit 5d5255f
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ public static void main(String[] args) throws Exception {
*/
DataStream<Properties> dataStreamProducerProperties =
env.fromData(new Properties())
.map(new ConfluentClientConfigurationLookup(false, serviceAccountUser))
.map(new ConfluentClientConfigurationMapFunction(false, serviceAccountUser))
.name("kafka_producer_properties");
Properties producerProperties = new Properties();

Expand Down
2 changes: 1 addition & 1 deletion java/app/src/main/java/kickstarter/DataGeneratorApp.java
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ public static void main(String[] args) throws Exception {
*/
DataStream<Properties> dataStreamProducerProperties =
env.fromData(new Properties())
.map(new ConfluentClientConfigurationLookup(false, serviceAccountUser))
.map(new ConfluentClientConfigurationMapFunction(false, serviceAccountUser))
.name("kafka_producer_properties");
Properties producerProperties = new Properties();

Expand Down
4 changes: 2 additions & 2 deletions java/app/src/main/java/kickstarter/FlightImporterApp.java
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public static void main(String[] args) throws Exception {
*/
DataStream<Properties> dataStreamConsumerProperties =
env.fromData(new Properties())
.map(new ConfluentClientConfigurationLookup(true, serviceAccountUser))
.map(new ConfluentClientConfigurationMapFunction(true, serviceAccountUser))
.name("kafka_consumer_properties");
Properties consumerProperties = new Properties();

Expand Down Expand Up @@ -97,7 +97,7 @@ public static void main(String[] args) throws Exception {
*/
DataStream<Properties> dataStreamProducerProperties =
env.fromData(new Properties())
.map(new ConfluentClientConfigurationLookup(false, serviceAccountUser))
.map(new ConfluentClientConfigurationMapFunction(false, serviceAccountUser))
.name("kafka_producer_properties");
Properties producerProperties = new Properties();

Expand Down
4 changes: 2 additions & 2 deletions java/app/src/main/java/kickstarter/FlyerStatsApp.java
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public static void main(String[] args) throws Exception {
*/
DataStream<Properties> dataStreamConsumerProperties =
env.fromData(new Properties())
.map(new ConfluentClientConfigurationLookup(true, serviceAccountUser))
.map(new ConfluentClientConfigurationMapFunction(true, serviceAccountUser))
.name("kafka_consumer_properties");
Properties consumerProperties = new Properties();

Expand Down Expand Up @@ -93,7 +93,7 @@ public static void main(String[] args) throws Exception {
*/
DataStream<Properties> dataStreamProducerProperties =
env.fromData(new Properties())
.map(new ConfluentClientConfigurationLookup(false, serviceAccountUser))
.map(new ConfluentClientConfigurationMapFunction(false, serviceAccountUser))
.name("kafka_producer_properties");
Properties producerProperties = new Properties();

Expand Down

0 comments on commit 5d5255f

Please sign in to comment.