-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathexample-config.yml
49 lines (43 loc) · 2.2 KB
/
example-config.yml
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
kafka:
# Event Messages
events:
# topic_maps (acapy topic regex to kafka topic template): A mapping from regex
# matching ACA-Py event topics to kafka topics. The Kafka topic can be templated;
# the plugin will insert the following values:
#
# $wallet_id: the id of the sub-wallet emitting the event or "base" if
# the base wallet
# $state: the state associated with the event (not all events have state)
# $topic: the acapy event topic
# $category: the acapy topic "category" or the portion following
# "acapy::record::" and "acapy::webhook::" in acapy events.
topic_maps:
"^acapy::webhook::(.*)$": "webhook-$wallet_id"
"^acapy::record::connections::.*": "connections-$wallet_id"
"^acapy::record::issue_credential::.*": "issue-credential-v1-$wallet_id"
"^acapy::record::issue_credential_v2_0::.*": "issue-credential-v2-$wallet_id"
"^acapy::record::present_proof::.*": "present-proof-v1-$wallet_id"
"^acapy::record::present_proof_v2_0::.*": "present-proof-v2-$wallet_id"
# TODO There are likely more topics you are interested in
producer:
bootstrap_servers: kafka
# Additional parameters can be added here to be picked up automatically by the component
# To see the full list please consult the following documentation under the section `Parameters`:
# https://aiokafka.readthedocs.io/en/stable/api.html#producer-class
# Inbound Messages
inbound:
topics:
- acapy-inbound-message
consumer:
group_id: inbound
# Additional parameters can be added here to be picked up automatically by the component
# To see the full list please consult the following documentation under the section `Parameters`:
# https://aiokafka.readthedocs.io/en/stable/api.html#consumer-class
# Outbound Messages
outbound:
topic: acapy-outbound-message
producer:
bootstrap_servers: kafka
# Additional parameters can be added here to be picked up automatically by the component
# To see the full list please consult the following documentation under the section `Parameters`:
# https://aiokafka.readthedocs.io/en/stable/api.html#producer-class