File tree Expand file tree Collapse file tree 1 file changed +30
-0
lines changed
dev-aws/kafka-shared-msk/customer-proposition Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change
1
+ resource "kafka_topic" "bundeltier_events_v1" {
2
+ name = " customer-proposition.public.bundeltier.events.v1"
3
+
4
+ replication_factor = 3
5
+ partitions = 15
6
+
7
+ config = {
8
+
9
+ " retention.bytes" = " -1" # keep on each partition unlimited data
10
+
11
+ # allow for a batch of records maximum 1MiB
12
+ " max.message.bytes" = " 1048576"
13
+ " compression.type" = " zstd"
14
+ " cleanup.policy" = " compact"
15
+ }
16
+ }
17
+
18
+ module "bundeltier_event_forwarder" {
19
+ source = " ../../../modules/tls-app"
20
+ produce_topics = [kafka_topic . bundeltier_events_v1 . name ]
21
+ consume_groups = [" customer-proposition.bundletier-public-event-forwarder" ]
22
+ cert_common_name = " customer-proposition/bundletier-public-event-forwarder"
23
+ }
24
+
25
+ module "es_indexer_bundletier_events_v1" {
26
+ source = " ../../../modules/tls-app"
27
+ consume_groups = [" customer-proposition.es-indexer-bundeltier.events.v1" ]
28
+ consume_topics = [kafka_topic . bundeltier_events_v1 . name ]
29
+ cert_common_name = " customer-proposition/es-indexer-bundeltier-events-v1"
30
+ }
You can’t perform that action at this time.
0 commit comments