forked from vdesabou/kafka-docker-playground
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.sasl-plain.yml
executable file
·33 lines (29 loc) · 1.12 KB
/
docker-compose.sasl-plain.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
---
version: '3.5'
services:
broker:
environment:
KAFKA_AUTHORIZER_CLASS_NAME: kafka.security.auth.SimpleAclAuthorizer
KAFKA_ZOOKEEPER_SET_ACL: "true"
KAFKA_ALLOW_EVERYONE_IF_NO_ACL_FOUND: "false"
KAFKA_SUPER_USERS: User:broker;User:schemaregistry;User:client;User:connect
schema-registry:
volumes:
- ../../other/connect-override-policy-sftp-source/client.properties:/tmp/client.properties
# getting weird "Couldn't create directory: Failure", so created image from this PR https://github.com/atmoz/sftp/pull/164
# https://github.com/amaysim-au/docker-sftp/tree/chroot-user
# docker build -t vdesabou/sftp .
# docker push vdesabou/sftp
sftp-server:
image: vdesabou/sftp
hostname: sftp-server
container_name: sftp-server
ports:
- "2222:22"
command: foo:pass:::upload
connect:
volumes:
- ../../other/connect-override-policy-sftp-source/client.properties:/tmp/client.properties
environment:
CONNECT_PLUGIN_PATH: /usr/share/confluent-hub-components/confluentinc-kafka-connect-sftp
CONNECT_CONNECTOR_CLIENT_CONFIG_OVERRIDE_POLICY: Principal