Skip to content

Commit

Permalink
fixed examples and included sink compaction as env variable for all
Browse files Browse the repository at this point in the history
  • Loading branch information
sirocchj committed Feb 1, 2024
1 parent 20e631f commit 853d422
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 2 deletions.
1 change: 1 addition & 0 deletions db/local/runDatabaseSimple.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ export KAFKA_STATE_TOPIC=state
export KAFKA_STATE_AUTO_CREATE=on
export KAFKA_STATE_PARTITIONS=1
export KAFKA_STATE_REPLICAS=1
export KAFKA_STATE_COMPACTION=on
export KAFKA_GROUP_ID=groupid
export KAFKA_CLIENT_ID=clientid
export KAFKA_TRANSACTIONAL_ID=transactionid
Expand Down
4 changes: 2 additions & 2 deletions example/src/main/scala/tamer/s3/S3Generalized.scala
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ object S3Generalized extends ZIOAppDefault {
Some(RegistryConfig("http://localhost:8081")),
10.seconds,
50,
TopicConfig("sink", Some(TopicOptions(1, 1))),
TopicConfig("state", Some(TopicOptions(1, 1))),
TopicConfig("sink", Some(TopicOptions(1, 1, false))),
TopicConfig("state", Some(TopicOptions(1, 1, true))),
"groupid",
"clientid",
"s3-generalized-id"
Expand Down
1 change: 1 addition & 0 deletions rest/local/runRestBasicAuth.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ export KAFKA_STATE_TOPIC=state
export KAFKA_STATE_AUTO_CREATE=on
export KAFKA_STATE_PARTITIONS=1
export KAFKA_STATE_REPLICAS=1
export KAFKA_STATE_COMPACTION=on
export KAFKA_GROUP_ID=groupid
export KAFKA_CLIENT_ID=clientid
export KAFKA_TRANSACTIONAL_ID=transactionid
Expand Down
1 change: 1 addition & 0 deletions rest/local/runRestCustomAuth.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ export KAFKA_STATE_TOPIC=state
export KAFKA_STATE_AUTO_CREATE=on
export KAFKA_STATE_PARTITIONS=1
export KAFKA_STATE_REPLICAS=1
export KAFKA_STATE_COMPACTION=on
export KAFKA_GROUP_ID=groupid
export KAFKA_CLIENT_ID=clientid
export KAFKA_TRANSACTIONAL_ID=transactionid
Expand Down
1 change: 1 addition & 0 deletions rest/local/runRestDynamicData.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ export KAFKA_STATE_TOPIC=state
export KAFKA_STATE_AUTO_CREATE=on
export KAFKA_STATE_PARTITIONS=1
export KAFKA_STATE_REPLICAS=1
export KAFKA_STATE_COMPACTION=on
export KAFKA_GROUP_ID=groupid
export KAFKA_CLIENT_ID=clientid
export KAFKA_TRANSACTIONAL_ID=transactionid
Expand Down
1 change: 1 addition & 0 deletions rest/local/runRestSimple.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ export KAFKA_STATE_TOPIC=state
export KAFKA_STATE_AUTO_CREATE=on
export KAFKA_STATE_PARTITIONS=1
export KAFKA_STATE_REPLICAS=1
export KAFKA_STATE_COMPACTION=on
export KAFKA_GROUP_ID=groupid
export KAFKA_CLIENT_ID=clientid
export KAFKA_TRANSACTIONAL_ID=transactionid
Expand Down
1 change: 1 addition & 0 deletions s3/local/runS3Generalized.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ export KAFKA_STATE_TOPIC=state
export KAFKA_STATE_AUTO_CREATE=on
export KAFKA_STATE_PARTITIONS=1
export KAFKA_STATE_REPLICAS=1
export KAFKA_STATE_COMPACTION=on
export KAFKA_GROUP_ID=groupid
export KAFKA_CLIENT_ID=clientid
export KAFKA_TRANSACTIONAL_ID=transactionid
Expand Down
1 change: 1 addition & 0 deletions s3/local/runS3Simple.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ export KAFKA_STATE_TOPIC=state
export KAFKA_STATE_AUTO_CREATE=on
export KAFKA_STATE_PARTITIONS=1
export KAFKA_STATE_REPLICAS=1
export KAFKA_STATE_COMPACTION=on
export KAFKA_GROUP_ID=groupid
export KAFKA_CLIENT_ID=clientid
export KAFKA_TRANSACTIONAL_ID=transactionid
Expand Down

0 comments on commit 853d422

Please sign in to comment.