-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
672 lines (635 loc) · 28.4 KB
/
Copy pathdocker-compose.yaml
File metadata and controls
672 lines (635 loc) · 28.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
# See https://docs.redpanda.com/current/get-started/quick-start/
version: '3.8'
volumes:
postgis-logs:
driver: local
driver_opts:
type: none
device: ${PWD}/logs/postgres
o: bind
postgis-data: null
redpanda1: null
redpanda2: null
redpanda3: null
fuseki: null
networks:
redpanda_network:
driver: bridge
services:
# Postgres Database Server with
# access postgres from host machine: postgres://postgres:local_pw@{DOCKER_IP}:${DOCKER_PG_HOST_PORT}
postgres:
build:
context: ./components/postgres
shm_size: 1g
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: local_pw
GEOVISTORY_DB: toolbox_db
command: ${POSTGRES_COMMAND}
ports:
- ${POSTGRES_PORT}:5432
restart: always
volumes:
- 'postgis-data:/var/lib/postgresql/data'
- 'postgis-logs:/logs'
healthcheck:
test: ["CMD-SHELL", "test -f /var/lib/postgresql/data/ready || exit 1"]
interval: 5s
timeout: 5s
retries: 50
networks:
- redpanda_network
redpanda-1:
# build:
# context: ./components/redpanda
image: docker.redpanda.com/redpandadata/redpanda:v23.2.12
command:
- redpanda start
- --smp 1
- --overprovisioned
- --node-id 1
- --kafka-addr internal://0.0.0.0:9092,external://0.0.0.0:${REDPANDA_1_PORT}
# Address the broker advertises to clients that connect to the Kafka API.
# Use the internal addresses to connect to the Redpanda brokers
# from inside the same Docker network.
# Use the external addresses to connect to the Redpanda brokers
# from outside the Docker network.
- --advertise-kafka-addr internal://redpanda-1:9092,external://localhost:${REDPANDA_1_PORT}
- --pandaproxy-addr internal://0.0.0.0:8082,external://0.0.0.0:${REDPANDA_PROXY_1_PORT}
# Address the broker advertises to clients that connect to the HTTP Proxy.
- --advertise-pandaproxy-addr internal://redpanda-1:8082,external://localhost:${REDPANDA_PROXY_1_PORT}
- --schema-registry-addr internal://0.0.0.0:8081,external://0.0.0.0:${REDPANDA_SCHEMA_REGISTRY_PORT}
# Redpanda brokers use the RPC API to communicate with each other internally.
- --rpc-addr redpanda-1:33145
- --advertise-rpc-addr redpanda-1:33145
# # Set the log segment size to 16MB instead of 128MB to save disk on local machine (16MB min. size per partition)
# - rpk cluster config set log_segment_size 16777216
ports:
- ${REDPANDA_SCHEMA_REGISTRY_PORT}:${REDPANDA_SCHEMA_REGISTRY_PORT}
- ${REDPANDA_PROXY_1_PORT}:${REDPANDA_PROXY_1_PORT}
- ${REDPANDA_1_PORT}:${REDPANDA_1_PORT}
- 19644:9644
restart: always
volumes:
- redpanda1:/var/lib/redpanda/data
networks:
- redpanda_network
healthcheck:
test:
['CMD-SHELL', "rpk cluster health | grep -E 'Healthy:.+true' || exit 1"]
interval: 15s
timeout: 3s
retries: 5
start_period: 5s
redpanda-2:
# build:
# context: ./components/redpanda
image: docker.redpanda.com/redpandadata/redpanda:v23.2.12
command:
- redpanda start
- --smp 1
- --overprovisioned
- --node-id 2
- --seeds "redpanda-1:33145"
- --kafka-addr internal://0.0.0.0:9093,external://0.0.0.0:${REDPANDA_2_PORT}
# Address the broker advertises to clients that connect to the Kafka API.
# Use the internal addresses to connect to the Redpanda brokers
# from inside the same Docker network.
# Use the external addresses to connect to the Redpanda brokers
# from outside the Docker network.
- --advertise-kafka-addr internal://redpanda-2:9093,external://localhost:${REDPANDA_2_PORT}
- --pandaproxy-addr internal://0.0.0.0:8083,external://0.0.0.0:${REDPANDA_PROXY_2_PORT}
# Address the broker advertises to clients that connect to the HTTP Proxy.
- --advertise-pandaproxy-addr internal://redpanda-2:8083,external://localhost:${REDPANDA_PROXY_2_PORT}
- --schema-registry-addr internal://0.0.0.0:8081,external://0.0.0.0:18081
# Redpanda brokers use the RPC API to communicate with each other internally.
- --rpc-addr redpanda-2:33145
- --advertise-rpc-addr redpanda-2:33145
# # Set the log segment size to 16MB instead of 128MB to save disk on local machine (16MB min. size per partition)
# - rpk cluster config set log_segment_size 16777216
ports:
- ${REDPANDA_PROXY_2_PORT}:${REDPANDA_PROXY_2_PORT}
- ${REDPANDA_2_PORT}:${REDPANDA_2_PORT}
restart: always
volumes:
- redpanda2:/var/lib/redpanda/data
networks:
- redpanda_network
healthcheck:
test:
['CMD-SHELL', "rpk cluster health | grep -E 'Healthy:.+true' || exit 1"]
interval: 15s
timeout: 3s
retries: 5
start_period: 5s
depends_on:
- redpanda-1
redpanda-3:
# build:
# context: ./components/redpanda
image: docker.redpanda.com/redpandadata/redpanda:v23.2.12
command:
- redpanda start
- --smp 1
- --overprovisioned
- --node-id 3
- --seeds "redpanda-1:33145"
- --kafka-addr internal://0.0.0.0:9094,external://0.0.0.0:${REDPANDA_3_PORT}
# Address the broker advertises to clients that connect to the Kafka API.
# Use the internal addresses to connect to the Redpanda brokers
# from inside the same Docker network.
# Use the external addresses to connect to the Redpanda brokers
# from outside the Docker network.
- --advertise-kafka-addr internal://redpanda-3:9094,external://localhost:${REDPANDA_3_PORT}
- --pandaproxy-addr internal://0.0.0.0:8084,external://0.0.0.0:${REDPANDA_PROXY_3_PORT}
# Address the broker advertises to clients that connect to the HTTP Proxy.
- --advertise-pandaproxy-addr internal://redpanda-3:8084,external://localhost:${REDPANDA_PROXY_3_PORT}
- --schema-registry-addr internal://0.0.0.0:8081,external://0.0.0.0:18081
# Redpanda brokers use the RPC API to communicate with each other internally.
- --rpc-addr redpanda-3:33145
- --advertise-rpc-addr redpanda-3:33145
# # Set the log segment size to 16MB instead of 128MB to save disk on local machine (16MB min. size per partition)
# - rpk cluster config set log_segment_size 16777216
ports:
- ${REDPANDA_PROXY_3_PORT}:${REDPANDA_PROXY_3_PORT}
- ${REDPANDA_3_PORT}:${REDPANDA_3_PORT}
restart: always
volumes:
- redpanda3:/var/lib/redpanda/data
networks:
- redpanda_network
healthcheck:
test:
['CMD-SHELL', "rpk cluster health | grep -E 'Healthy:.+true' || exit 1"]
interval: 15s
timeout: 3s
retries: 5
start_period: 5s
depends_on:
- redpanda-1
console:
image: docker.redpanda.com/redpandadata/console:v2.2.5
entrypoint: /bin/sh
command: -c "echo \"$$CONSOLE_CONFIG_FILE\" > /tmp/config.yml; /app/console"
environment:
CONFIG_FILEPATH: /tmp/config.yml
CONSOLE_CONFIG_FILE: |
kafka:
brokers: ["redpanda-1:9092","redpanda-2:9093","redpanda-3:9094"]
schemaRegistry:
enabled: true
urls: ["http://redpanda-1:8081"]
redpanda:
adminApi:
enabled: true
urls: ["http://redpanda-1:9644"]
connect:
enabled: true
clusters:
- name: geov-connect-cluster
url: http://connect:8083
ports:
- ${REDPANDA_CONSOLE_PORT}:8080
networks:
- redpanda_network
depends_on:
- redpanda-1
connect:
build:
context: ./components/connect
hostname: connect
container_name: connect
networks:
- redpanda_network
platform: 'linux/amd64'
depends_on:
postgres:
condition: service_healthy
redpanda-1:
condition: service_started
redpanda-2:
condition: service_started
redpanda-3:
condition: service_started
ports:
- '8083:8083'
environment:
CONNECT_CONFIGURATION: |
key.converter=org.apache.kafka.connect.converters.ByteArrayConverter
value.converter=org.apache.kafka.connect.converters.ByteArrayConverter
group.id=geov_connectors-cluster
offset.storage.topic=_internal_connectors_offsets
config.storage.topic=_internal_connectors_configs
status.storage.topic=_internal_connectors_status
config.storage.replication.factor=-1
offset.storage.replication.factor=-1
status.storage.replication.factor=-1
offset.flush.interval.ms=1000
producer.linger.ms=50
producer.batch.size=131072
listeners=HTTP://connect:8083
CONNECT_BOOTSTRAP_SERVERS: redpanda-1:9092,redpanda-2:9093,redpanda-3:9094
CONNECT_GC_LOG_ENABLED: 'false'
CONNECT_HEAP_OPTS: -Xms512M -Xmx512M
CONNECT_LOG_LEVEL: info
connect-restarter:
build:
context: ./components/kafka-connect-restarter
networks:
- redpanda_network
platform: 'linux/amd64'
environment:
KAFKA_CONNECT_URL: http://connect:8083
toolbox_server:
image: ghcr.io/geovistory/toolbox-server:0.5.3
environment:
# db:5432 points to service db and its cointainer port
DATABASE_URL: postgres://postgres:local_pw@postgres:5432/toolbox_db
GEOV_EMAIL_ADDRESS: ${GEOV_EMAIL_ADDRESS}
GEOV_EMAIL_HOST: ${GEOV_EMAIL_HOST}
GEOV_EMAIL_PORT: ${GEOV_EMAIL_PORT}
GEOV_EMAIL_PASSWORD: ${GEOV_EMAIL_PASSWORD}
SERVER_URL: http://localhost:${TOOLBOX_SERVER_PORT}
CLIENT_URL: http://toolbox_client:4200
PORT: '3000'
HOST: '0.0.0.0'
ports:
- ${TOOLBOX_SERVER_PORT}:3000
depends_on:
postgres:
condition: service_healthy
networks:
- redpanda_network
toolbox_client:
image: ghcr.io/geovistory/toolbox-client:0.4.0
environment:
# db:5432 points to service db and its cointainer port
API_URL: http://localhost:${TOOLBOX_SERVER_PORT}
ASSETS_URL: http://localhost:${TOOLBOX_CLIENT_PORT}
ports:
- ${TOOLBOX_CLIENT_PORT}:80
fuseki:
build:
context: ./components/fuseki
environment:
ADMIN_PASSWORD: "pw123"
JAVA_OPTIONS: "-Xmx1024m -Xms1024m"
SIS_DATA: '/databases/apache-sis-1.2/data'
ports:
- ${FUSEKI_PORT}:3030
volumes:
- fuseki:/databases/apache-sis-1.2/data
networks:
- redpanda_network
# ###################################### Kafka Streams Apps ######################################
toolbox_streams_base_model:
image: ghcr.io/geovistory/toolbox-streams-base-model-quarkus:0.1.0-pr-135.0
environment:
JDK_JAVA_OPTIONS: -Xms256m -Xmx1024m
ROCKSDB_TOTAL_OFF_HEAP_MB: '2000'
ROCKSDB_TOTAL_MEMTABLE_MB: '200'
KAFKA_STREAMS_CACHE_MAX_BYTES_BUFFERING: '10485760'
KAFKA_STREAMS_COMMIT_INTERVAL_MS: '100'
KAFKA_STREAMS_METRICS_RECORDING_LEVEL: DEBUG
KAFKA_STREAMS_PROCESSING_GUARANTEE: ${KAFKA_STREAMS_PROCESSING_GUARANTEE}
TS_STATE_DIR: '/kafka-streams-state'
QUARKUS_KAFKA_STREAMS_BOOTSTRAP_SERVERS: 'http://redpanda-1:9092,http://redpanda-2:9093,http://redpanda-3:9094'
QUARKUS_KAFKA_STREAMS_SCHEMA_REGISTRY_KEY: schema.registry.url
QUARKUS_KAFKA_STREAMS_SCHEMA_REGISTRY_URL: 'http://redpanda-1:8081'
# Application id
QUARKUS_KAFKA_STREAMS_APPLICATION_ID: ts_base_model
# Prefix of topics created by debezium
TS_INPUT_TOPIC_NAME_PREFIX: 'ts'
# Prefix of topics created by this app
TS_OUTPUT_TOPIC_NAME_PREFIX: ts_base_model
# Replication factor of created topics
TS_OUTPUT_TOPIC_REPLICATION_FACTOR: 1
networks:
- redpanda_network
toolbox_streams_field_changes:
image: ghcr.io/geovistory/toolbox-streams-field-change-quarkus:0.1.0-pr-135.0
environment:
JDK_JAVA_OPTIONS: -Xms256m -Xmx1024m
ROCKSDB_TOTAL_OFF_HEAP_MB: '2000'
ROCKSDB_TOTAL_MEMTABLE_MB: '200'
KAFKA_STREAMS_CACHE_MAX_BYTES_BUFFERING: '10485760'
KAFKA_STREAMS_COMMIT_INTERVAL_MS: '100'
KAFKA_STREAMS_METRICS_RECORDING_LEVEL: DEBUG
KAFKA_STREAMS_PROCESSING_GUARANTEE: ${KAFKA_STREAMS_PROCESSING_GUARANTEE}
TS_STATE_DIR: '/kafka-streams-state'
QUARKUS_KAFKA_STREAMS_BOOTSTRAP_SERVERS: 'http://redpanda-1:9092,http://redpanda-2:9093,http://redpanda-3:9094'
QUARKUS_KAFKA_STREAMS_SCHEMA_REGISTRY_KEY: schema.registry.url
QUARKUS_KAFKA_STREAMS_SCHEMA_REGISTRY_URL: 'http://redpanda-1:8081'
# Application id
QUARKUS_KAFKA_STREAMS_APPLICATION_ID: ts_field_changes
# Prefix of topics created by debezium
TS_INPUT_TOPIC_NAME_PREFIX: 'ts'
# Prefix of topics created by this app
TS_OUTPUT_TOPIC_NAME_PREFIX: ts_field_changes
# Replication factor of created topics
TS_OUTPUT_TOPIC_REPLICATION_FACTOR: 1
networks:
- redpanda_network
toolbox_streams_nodes:
image: ghcr.io/geovistory/toolbox-streams-nodes-quarkus:0.1.0-pr-135.0
environment:
JDK_JAVA_OPTIONS: -Xms256m -Xmx1024m
ROCKSDB_TOTAL_OFF_HEAP_MB: '2000'
ROCKSDB_TOTAL_MEMTABLE_MB: '200'
KAFKA_STREAMS_CACHE_MAX_BYTES_BUFFERING: '10485760'
KAFKA_STREAMS_COMMIT_INTERVAL_MS: '100'
KAFKA_STREAMS_METRICS_RECORDING_LEVEL: DEBUG
KAFKA_STREAMS_PROCESSING_GUARANTEE: ${KAFKA_STREAMS_PROCESSING_GUARANTEE}
TS_STATE_DIR: '/kafka-streams-state'
QUARKUS_KAFKA_STREAMS_BOOTSTRAP_SERVERS: 'http://redpanda-1:9092,http://redpanda-2:9093,http://redpanda-3:9094'
QUARKUS_KAFKA_STREAMS_SCHEMA_REGISTRY_KEY: schema.registry.url
QUARKUS_KAFKA_STREAMS_SCHEMA_REGISTRY_URL: 'http://redpanda-1:8081'
# Application id
QUARKUS_KAFKA_STREAMS_APPLICATION_ID: ts_nodes
# Prefix of topics created by debezium
TS_INPUT_TOPIC_NAME_PREFIX: 'ts'
# Prefix of topics created by this app
TS_OUTPUT_TOPIC_NAME_PREFIX: ts_nodes
# Replication factor of created topics
TS_OUTPUT_TOPIC_REPLICATION_FACTOR: 1
networks:
- redpanda_network
toolbox_streams_statement_subject:
image: ghcr.io/geovistory/toolbox-streams-statement-subject-quarkus:0.1.0-pr-135.0
environment:
JDK_JAVA_OPTIONS: -Xms256m -Xmx1024m
ROCKSDB_TOTAL_OFF_HEAP_MB: '2000'
ROCKSDB_TOTAL_MEMTABLE_MB: '200'
KAFKA_STREAMS_CACHE_MAX_BYTES_BUFFERING: '10485760'
KAFKA_STREAMS_COMMIT_INTERVAL_MS: '100'
KAFKA_STREAMS_METRICS_RECORDING_LEVEL: DEBUG
KAFKA_STREAMS_PROCESSING_GUARANTEE: ${KAFKA_STREAMS_PROCESSING_GUARANTEE}
TS_STATE_DIR: '/kafka-streams-state'
QUARKUS_KAFKA_STREAMS_BOOTSTRAP_SERVERS: 'http://redpanda-1:9092,http://redpanda-2:9093,http://redpanda-3:9094'
QUARKUS_KAFKA_STREAMS_SCHEMA_REGISTRY_KEY: schema.registry.url
QUARKUS_KAFKA_STREAMS_SCHEMA_REGISTRY_URL: 'http://redpanda-1:8081'
# Application id
QUARKUS_KAFKA_STREAMS_APPLICATION_ID: ts_statement_subject
# Prefix of topics created by debezium
TS_INPUT_TOPIC_NAME_PREFIX: 'ts'
# Prefix of topics created by this app
TS_OUTPUT_TOPIC_NAME_PREFIX: ts_statement_subject
# Topics from ts_nodes
TS_TOPIC_NODES: ts_nodes_nodes
# Replication factor of created topics
TS_OUTPUT_TOPIC_REPLICATION_FACTOR: 1
networks:
- redpanda_network
toolbox_streams_statement_object:
image: ghcr.io/geovistory/toolbox-streams-statement-object-quarkus:0.1.0-pr-135.0
environment:
JDK_JAVA_OPTIONS: -Xms256m -Xmx1024m
ROCKSDB_TOTAL_OFF_HEAP_MB: '2000'
ROCKSDB_TOTAL_MEMTABLE_MB: '200'
KAFKA_STREAMS_CACHE_MAX_BYTES_BUFFERING: '10485760'
KAFKA_STREAMS_COMMIT_INTERVAL_MS: '100'
KAFKA_STREAMS_METRICS_RECORDING_LEVEL: DEBUG
KAFKA_STREAMS_PROCESSING_GUARANTEE: ${KAFKA_STREAMS_PROCESSING_GUARANTEE}
TS_STATE_DIR: '/kafka-streams-state'
QUARKUS_KAFKA_STREAMS_BOOTSTRAP_SERVERS: 'http://redpanda-1:9092,http://redpanda-2:9093,http://redpanda-3:9094'
QUARKUS_KAFKA_STREAMS_SCHEMA_REGISTRY_KEY: schema.registry.url
QUARKUS_KAFKA_STREAMS_SCHEMA_REGISTRY_URL: 'http://redpanda-1:8081'
# Application id
QUARKUS_KAFKA_STREAMS_APPLICATION_ID: ts_statement_object
# Prefix of topics created by debezium
TS_INPUT_TOPIC_NAME_PREFIX: 'ts'
# Prefix of topics created by this app
TS_OUTPUT_TOPIC_NAME_PREFIX: ts_statement_object
# Topics from ts_nodes
TS_TOPIC_NODES: ts_nodes_nodes
# Topics from app-0a-statement-subject
TS_TOPIC_STATEMENT_WITH_SUBJECT: ts_statement_subject_statement_with_subject
# Replication factor of created topics
TS_OUTPUT_TOPIC_REPLICATION_FACTOR: 1
networks:
- redpanda_network
toolbox_streams_base_config:
image: ghcr.io/geovistory/toolbox-streams-base-config-quarkus:0.1.0-pr-135.0
environment:
JDK_JAVA_OPTIONS: -Xms256m -Xmx1024m
ROCKSDB_TOTAL_OFF_HEAP_MB: '2000'
ROCKSDB_TOTAL_MEMTABLE_MB: '200'
KAFKA_STREAMS_CACHE_MAX_BYTES_BUFFERING: '10485760'
KAFKA_STREAMS_COMMIT_INTERVAL_MS: '100'
KAFKA_STREAMS_METRICS_RECORDING_LEVEL: DEBUG
KAFKA_STREAMS_PROCESSING_GUARANTEE: ${KAFKA_STREAMS_PROCESSING_GUARANTEE}
TS_STATE_DIR: '/kafka-streams-state'
QUARKUS_KAFKA_STREAMS_BOOTSTRAP_SERVERS: 'http://redpanda-1:9092,http://redpanda-2:9093,http://redpanda-3:9094'
QUARKUS_KAFKA_STREAMS_SCHEMA_REGISTRY_KEY: schema.registry.url
QUARKUS_KAFKA_STREAMS_SCHEMA_REGISTRY_URL: 'http://redpanda-1:8081'
# Application id
QUARKUS_KAFKA_STREAMS_APPLICATION_ID: ts_base_config
# Prefix of topics created by debezium
TS_INPUT_TOPIC_NAME_PREFIX: 'ts'
# Prefix of topics created by this app
TS_OUTPUT_TOPIC_NAME_PREFIX: ts_base_config
# Topics from ts-base-model
TS_TOPIC_ONTOME_PROPERTY: ts_base_model_ontome_property
TS_TOPIC_ONTOME_CLASS: ts_base_model_ontome_class
TS_TOPIC_ONTOME_PROPERTY_LABEL: ts_base_model_ontome_property_label
TS_TOPIC_ONTOME_CLASS_LABEL: ts_base_model_ontome_class_label
# Replication factor of created topics
TS_OUTPUT_TOPIC_REPLICATION_FACTOR: 1
networks:
- redpanda_network
toolbox_streams_entity_label:
image: ghcr.io/geovistory/toolbox-streams-entity-label-quarkus:0.1.0-pr-135.0
environment:
JDK_JAVA_OPTIONS: -Xms512m -Xmx2024m
ROCKSDB_TOTAL_OFF_HEAP_MB: '2000'
ROCKSDB_TOTAL_MEMTABLE_MB: '200'
KAFKA_STREAMS_CACHE_MAX_BYTES_BUFFERING: '10485760'
KAFKA_STREAMS_COMMIT_INTERVAL_MS: '100'
KAFKA_STREAMS_METRICS_RECORDING_LEVEL: DEBUG
KAFKA_STREAMS_PROCESSING_GUARANTEE: ${KAFKA_STREAMS_PROCESSING_GUARANTEE}
TS_STATE_DIR: '/kafka-streams-state'
QUARKUS_KAFKA_STREAMS_BOOTSTRAP_SERVERS: 'http://redpanda-1:9092,http://redpanda-2:9093,http://redpanda-3:9094'
QUARKUS_KAFKA_STREAMS_SCHEMA_REGISTRY_KEY: schema.registry.url
QUARKUS_KAFKA_STREAMS_SCHEMA_REGISTRY_URL: 'http://redpanda-1:8081'
# Application id
QUARKUS_KAFKA_STREAMS_APPLICATION_ID: ts_entity_label
# Prefix of topics created by debezium
TS_INPUT_TOPIC_NAME_PREFIX: 'ts'
# Prefix of topics created by this app
TS_OUTPUT_TOPIC_NAME_PREFIX: ts_entity_label
# Topics from app-0-statement-object
TS_TOPIC_STATEMENT_WITH_ENTITY: ts_statement_object_statement_with_entity
TS_TOPIC_STATEMENT_WITH_LITERAL: ts_statement_object_statement_with_literal
# Topics from app-1-base-config
TS_TOPIC_PROJECT_ENTITY_LABEL_CONFIG: ts_base_config_project_entity_label_config
TS_TOPIC_COMMUNITY_ENTITY_LABEL_CONFIG: ts_base_config_community_entity_label_config
# Replication factor of created topics
TS_OUTPUT_TOPIC_REPLICATION_FACTOR: 1
networks:
- redpanda_network
toolbox_streams_analysis_statements:
image: ghcr.io/geovistory/toolbox-streams-analysis-statements-quarkus:0.1.0-pr-135.0
environment:
JDK_JAVA_OPTIONS: -Xms512m -Xmx2024m
ROCKSDB_TOTAL_OFF_HEAP_MB: '2000'
ROCKSDB_TOTAL_MEMTABLE_MB: '200'
KAFKA_STREAMS_CACHE_MAX_BYTES_BUFFERING: '10485760'
KAFKA_STREAMS_COMMIT_INTERVAL_MS: '100'
KAFKA_STREAMS_METRICS_RECORDING_LEVEL: DEBUG
KAFKA_STREAMS_PROCESSING_GUARANTEE: ${KAFKA_STREAMS_PROCESSING_GUARANTEE}
TS_STATE_DIR: '/kafka-streams-state'
QUARKUS_KAFKA_STREAMS_BOOTSTRAP_SERVERS: 'http://redpanda-1:9092,http://redpanda-2:9093,http://redpanda-3:9094'
QUARKUS_KAFKA_STREAMS_SCHEMA_REGISTRY_KEY: schema.registry.url
QUARKUS_KAFKA_STREAMS_SCHEMA_REGISTRY_URL: 'http://redpanda-1:8081'
# Application id
QUARKUS_KAFKA_STREAMS_APPLICATION_ID: ts_analysis_statements
# Prefix of topics created by debezium
TS_INPUT_TOPIC_NAME_PREFIX: 'ts'
# Prefix of topics created by this app
TS_OUTPUT_TOPIC_NAME_PREFIX: ts_analysis_statements
# Topics from app-2-entity-label
TS_TOPIC_PROJECT_STATEMENT_WITH_ENTITY: ts_entity_label_project_statement_with_entity
TS_TOPIC_PROJECT_STATEMENT_WITH_LITERAL: ts_entity_label_project_statement_with_literal
# Replication factor of created topics
TS_OUTPUT_TOPIC_REPLICATION_FACTOR: 1
networks:
- redpanda_network
toolbox_streams_entity:
image: ghcr.io/geovistory/toolbox-streams-entity-quarkus:0.1.0-pr-135.0
environment:
JDK_JAVA_OPTIONS: -Xms512m -Xmx2024m
ROCKSDB_TOTAL_OFF_HEAP_MB: '2000'
ROCKSDB_TOTAL_MEMTABLE_MB: '200'
KAFKA_STREAMS_CACHE_MAX_BYTES_BUFFERING: '10485760'
KAFKA_STREAMS_COMMIT_INTERVAL_MS: '100'
KAFKA_STREAMS_METRICS_RECORDING_LEVEL: DEBUG
KAFKA_STREAMS_PROCESSING_GUARANTEE: ${KAFKA_STREAMS_PROCESSING_GUARANTEE}
TS_STATE_DIR: '/kafka-streams-state'
QUARKUS_KAFKA_STREAMS_BOOTSTRAP_SERVERS: 'http://redpanda-1:9092,http://redpanda-2:9093,http://redpanda-3:9094'
QUARKUS_KAFKA_STREAMS_SCHEMA_REGISTRY_KEY: schema.registry.url
QUARKUS_KAFKA_STREAMS_SCHEMA_REGISTRY_URL: 'http://redpanda-1:8081'
# Application id
QUARKUS_KAFKA_STREAMS_APPLICATION_ID: ts_entity
# Prefix of topics created by debezium
TS_INPUT_TOPIC_NAME_PREFIX: 'ts'
# Prefix of topics created by this app
TS_OUTPUT_TOPIC_NAME_PREFIX: ts_entity
# Topics from app-0-base-model
TS_TOPIC_ONTOME_CLASS_METADATA: ts_base_model_ontome_class_metadata
TS_TOPIC_HAS_TYPE_PROPERTY: ts_base_model_has_type_property
# Topics from app-1-base-config
TS_TOPIC_PROJECT_CLASS_LABEL: ts_base_config_project_class_label
TS_TOPIC_COMMUNITY_CLASS_LABEL: ts_base_config_community_class_label
# Topics from app-2-entity-label
TS_TOPIC_PROJECT_ENTITY: ts_entity_label_project_entity
TS_TOPIC_PROJECT_TOP_OUTGOING_STATEMENTS: ts_entity_label_project_top_outgoing_statements
TS_TOPIC_COMMUNITY_ENTITY: ts_entity_label_community_toolbox_entity
TS_TOPIC_COMMUNITY_TOP_OUTGOING_STATEMENTS: ts_entity_label_community_toolbox_top_outgoing_statements
TS_OUTPUT_TOPIC_REPLICATION_FACTOR: 1
networks:
- redpanda_network
toolbox_streams_fulltext:
image: ghcr.io/geovistory/toolbox-streams-fulltext-quarkus:0.1.0-pr-135.0
environment:
JDK_JAVA_OPTIONS: -Xms512m -Xmx2024m
ROCKSDB_TOTAL_OFF_HEAP_MB: '2000'
ROCKSDB_TOTAL_MEMTABLE_MB: '200'
KAFKA_STREAMS_CACHE_MAX_BYTES_BUFFERING: '10485760'
KAFKA_STREAMS_COMMIT_INTERVAL_MS: '100'
KAFKA_STREAMS_METRICS_RECORDING_LEVEL: DEBUG
KAFKA_STREAMS_PROCESSING_GUARANTEE: ${KAFKA_STREAMS_PROCESSING_GUARANTEE}
TS_STATE_DIR: '/kafka-streams-state'
QUARKUS_KAFKA_STREAMS_BOOTSTRAP_SERVERS: 'http://redpanda-1:9092,http://redpanda-2:9093,http://redpanda-3:9094'
QUARKUS_KAFKA_STREAMS_SCHEMA_REGISTRY_KEY: schema.registry.url
QUARKUS_KAFKA_STREAMS_SCHEMA_REGISTRY_URL: 'http://redpanda-1:8081'
# Application id
QUARKUS_KAFKA_STREAMS_APPLICATION_ID: ts_fulltext
# Prefix of topics created by debezium
TS_INPUT_TOPIC_NAME_PREFIX: 'ts'
# Prefix of topics created by this app
TS_OUTPUT_TOPIC_NAME_PREFIX: ts_fulltext
# Topics from app-1-base-config
TS_TOPIC_PROJECT_PROPERTY_LABEL: ts_base_config_project_property_label
TS_TOPIC_COMMUNITY_PROPERTY_LABEL: ts_base_config_community_property_label
# Topics from app-2-entity-label
TS_TOPIC_PROJECT_ENTITY_WITH_LABEL_CONFIG: ts_entity_label_project_entity_with_label_config
TS_TOPIC_PROJECT_TOP_STATEMENTS: ts_entity_label_project_top_statements
TS_TOPIC_COMMUNITY_ENTITY_WITH_LABEL_CONFIG: ts_entity_label_community_toolbox_entity_with_label_config
TS_TOPIC_COMMUNITY_TOP_STATEMENTS: ts_entity_label_community_toolbox_top_statements
TS_OUTPUT_TOPIC_REPLICATION_FACTOR: 1
networks:
- redpanda_network
toolbox_streams_entity_preview:
image: ghcr.io/geovistory/toolbox-streams-entity-preview-quarkus:0.1.0-pr-135.0
environment:
JDK_JAVA_OPTIONS: -Xms512m -Xmx2024m
ROCKSDB_TOTAL_OFF_HEAP_MB: '2000'
ROCKSDB_TOTAL_MEMTABLE_MB: '200'
KAFKA_STREAMS_CACHE_MAX_BYTES_BUFFERING: '10485760'
KAFKA_STREAMS_COMMIT_INTERVAL_MS: '100'
KAFKA_STREAMS_METRICS_RECORDING_LEVEL: DEBUG
KAFKA_STREAMS_PROCESSING_GUARANTEE: ${KAFKA_STREAMS_PROCESSING_GUARANTEE}
TS_STATE_DIR: '/kafka-streams-state'
QUARKUS_KAFKA_STREAMS_BOOTSTRAP_SERVERS: 'http://redpanda-1:9092,http://redpanda-2:9093,http://redpanda-3:9094'
QUARKUS_KAFKA_STREAMS_SCHEMA_REGISTRY_KEY: schema.registry.url
QUARKUS_KAFKA_STREAMS_SCHEMA_REGISTRY_URL: 'http://redpanda-1:8081'
# Application id
QUARKUS_KAFKA_STREAMS_APPLICATION_ID: ts_entity_preview
# Prefix of topics created by debezium
TS_INPUT_TOPIC_NAME_PREFIX: 'ts'
# Prefix of topics created by this app
TS_OUTPUT_TOPIC_NAME_PREFIX: ts_entity_preview
# Topics from app-2-entity-label
TS_TOPIC_PROJECT_ENTITY: ts_entity_label_project_entity
TS_TOPIC_PROJECT_ENTITY_LABEL: ts_entity_label_project_entity_label
TS_TOPIC_COMMUNITY_ENTITY: ts_entity_label_community_toolbox_entity
TS_TOPIC_COMMUNITY_ENTITY_LABEL: ts_entity_label_community_toolbox_entity_label
# Topics from app-3-entity
TS_TOPIC_PROJECT_ENTITY_CLASS_LABEL: ts_entity_project_entity_class_label
TS_TOPIC_PROJECT_ENTITY_TYPE: ts_entity_project_entity_type
TS_TOPIC_PROJECT_ENTITY_TIME_SPAN: ts_entity_project_entity_time_span
TS_TOPIC_PROJECT_ENTITY_CLASS_METADATA: ts_entity_project_entity_class_metadata
TS_TOPIC_COMMUNITY_ENTITY_CLASS_LABEL: ts_entity_community_toolbox_entity_class_label
TS_TOPIC_COMMUNITY_ENTITY_TYPE: ts_entity_community_toolbox_entity_type
TS_TOPIC_COMMUNITY_ENTITY_TIME_SPAN: ts_entity_community_toolbox_entity_time_span
TS_TOPIC_COMMUNITY_ENTITY_CLASS_METADATA: ts_entity_community_toolbox_entity_class_metadata
# Topics from app-3-fulltext
TS_TOPIC_PROJECT_ENTITY_FULLTEXT: ts_fulltext_project_entity_fulltext
TS_TOPIC_COMMUNITY_ENTITY_FULLTEXT: ts_fulltext_community_toolbox_entity_fulltext
TS_OUTPUT_TOPIC_REPLICATION_FACTOR: 1
networks:
- redpanda_network
toolbox_streams_rdf:
#image: app-rdf
image: ghcr.io/geovistory/toolbox-streams-rdf-serializer-quarkus:0.1.0-pr-133.1
environment:
JDK_JAVA_OPTIONS: -Xms512m -Xmx2024m
ROCKSDB_TOTAL_OFF_HEAP_MB: '2000'
ROCKSDB_TOTAL_MEMTABLE_MB: '200'
KAFKA_STREAMS_CACHE_MAX_BYTES_BUFFERING: '10485760'
KAFKA_STREAMS_COMMIT_INTERVAL_MS: '100'
KAFKA_STREAMS_METRICS_RECORDING_LEVEL: DEBUG
KAFKA_STREAMS_PROCESSING_GUARANTEE: ${KAFKA_STREAMS_PROCESSING_GUARANTEE}
TS_STATE_DIR: '/kafka-streams-state'
QUARKUS_KAFKA_STREAMS_BOOTSTRAP_SERVERS: 'http://redpanda-1:9092,http://redpanda-2:9093,http://redpanda-3:9094'
QUARKUS_KAFKA_STREAMS_SCHEMA_REGISTRY_KEY: schema.registry.url
QUARKUS_KAFKA_STREAMS_SCHEMA_REGISTRY_URL: 'http://redpanda-1:8081'
# Application id
QUARKUS_KAFKA_STREAMS_APPLICATION_ID: ts_rdf
# Prefix of topics created by debezium
TS_INPUT_TOPIC_NAME_PREFIX: 'ts'
# Prefix of topics created by this app
TS_OUTPUT_TOPIC_NAME_PREFIX: ts_rdf
# Topics from app-1-base-config
TS_TOPIC_PROJECT_CLASS_LABEL: ts_base_config_project_class_label
# Topics from app-2-entity-label
TS_TOPIC_PROJECT_STATEMENT_WITH_ENTITY: ts_entity_label_project_statement_with_entity
TS_TOPIC_PROJECT_STATEMENT_WITH_LITERAL: ts_entity_label_project_statement_with_literal
TS_TOPIC_PROJECT_ENTITY_LABEL: ts_entity_label_project_entity_label
TS_TOPIC_PROJECT_ENTITY: ts_entity_label_project_entity
TS_TOPIC_ONTOME_PROPERTY_LABEL: ts_base_model_ontome_property_label
TS_TOPIC_PROJECTS_PROJECT: dev.projects.project
TS_OUTPUT_TOPIC_REPLICATION_FACTOR: 1
networks:
- redpanda_network