-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfnacdarty.kafka-service.1.0.json
76 lines (76 loc) · 3.1 KB
/
fnacdarty.kafka-service.1.0.json
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
{
"manifests": {
"fnacdarty/kafka-service": {
"manifest": {
"bundles": {
"FnacDarty\\KafkaService\\KafkaServiceBundle": [
"all"
]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%"
},
"env": {
"#1": "Configuration information is available at ",
"#2": "https://gitlab.com/fnacdarty/fdps/dev/common/marchandisesphp/bundles/kafka-service",
"KAFKA_SERVICE_BROKER": "your.kafka.broker.hostname:9092",
"KAFKA_SERVICE_TOPIC": "your.topic.name",
"KAFKA_SERVICE_USERNAME": "yourKafkaUsername",
"KAFKA_SERVICE_PASSWORD": "YourKafkaPassword",
"KAFKA_SERVICE_CLIENT_ID": "my.application.client.id",
"KAFKA_SERVICE_GROUP_ID": "my.group.id"
}
},
"files": {
"config/packages/kafka_service.yaml": {
"contents": [
"kafka_service:",
" broker: '%env(KAFKA_SERVICE_BROKER)%'",
" topic: '%env(KAFKA_SERVICE_TOPIC)%'",
" #produce:",
" #flush_timeout: 5000",
" credentials:",
" username: '%env(KAFKA_SERVICE_USERNAME)%'",
" password: '%env(KAFKA_SERVICE_PASSWORD)%'",
" # You may need to use a separate credential pair between the consumer and producer.",
" # If they are set they take precedence over the global credentials.",
" #producer:",
" #username: null",
" #password: null",
" #consumer:",
" #username: null",
" #password: null",
" config:",
" auto:",
" offset:",
" reset: 'earliest'",
" client:",
" id: '%env(KAFKA_SERVICE_CLIENT_ID)%'",
" #debug: 'all'",
" enable:",
" partition:",
" eof: true",
" auto:",
" commit: 'false'",
" idempotence: true",
" group:",
" id: '%env(KAFKA_SERVICE_GROUP_ID)%'",
" #log_level: '7'",
" message:",
" timeout:",
" ms: 5000",
" retry:",
" backoff:",
" ms: 500",
" security:",
" protocol: 'SASL_SSL'",
" sasl:",
" mechanisms: 'PLAIN'"
],
"executable": false
}
},
"ref": "8af7f190c806770043fbdfbaf5b7b70fc76a55ae"
}
}
}