-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.kafkactl.yml
More file actions
58 lines (53 loc) · 1.84 KB
/
Copy path.kafkactl.yml
File metadata and controls
58 lines (53 loc) · 1.84 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
# kafkactl configuration for Kong Event Gateway — Northwind Financial
# Contexts for Retail Banking NY and Wealth Management LA virtual clusters,
# plus direct broker access for admin operations.
#
# Usage:
# kafkactl --context retail-banking-ny get topics
# kafkactl --context wealth-management-la produce payments.card-dispatch.v1
# kafkactl config use-context retail-banking-ny
contexts:
# Retail Banking NY — connects via KEG SNI routing, topic prefix RETAIL_NY.
# Clients see logical names (e.g. payments.card-dispatch.v1);
# the gateway maps them to RETAIL_NY.payments.card-dispatch.v1 on the broker.
retail-banking-ny:
brokers:
- bootstrap.retail-banking-ny.127-0-0-1.sslip.io:9092
tls:
enabled: true
insecure: true # Set to false in production with a trusted CA
sasl:
enabled: false # Anonymous authentication
clientID: kafkactl-retail-banking-ny
requestTimeout: 10s
retryBackoff: 100ms
# Wealth Management LA — connects via KEG SNI routing, topic prefix WEALTH_LA.
wealth-management-la:
brokers:
- bootstrap.wealth-management-la.127-0-0-1.sslip.io:9092
tls:
enabled: true
insecure: true # Set to false in production with a trusted CA
sasl:
enabled: false # Anonymous authentication
clientID: kafkactl-wealth-management-la
requestTimeout: 10s
retryBackoff: 100ms
# Direct broker access — bypasses KEG, sees raw prefixed topic names.
# Requires port-forward:
# kubectl port-forward svc/northwind-kafka-bootstrap 19092:9092 -n kafka
kafka-direct:
brokers:
- localhost:19092
tls:
enabled: false
sasl:
enabled: false
clientID: kafkactl-admin
requestTimeout: 10s
retryBackoff: 100ms
# Default context
current-context: retail-banking-ny
# Global settings
defaultPartitions: 3
defaultReplicationFactor: 3