New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Redpanda for local env #477
Comments
|
I've been thinking that for months also. I've kafka & zookeeper running permanently on my machine. So I do some research and found that : https://redpanda.com/blog/fast-transactions/: support for transaction is partial for now, Kestra heavily use Kafka transactions. So I'm not really sure it will work properly with Redpanda. Maybe for local env and most of people, it could be sufficient. Do you have test on your side ? |
|
They will apparently soon work on it -> https://github.com/redpanda-data/redpanda/milestone/42 |
|
I've made a quick test : version: "3.6"
volumes:
redpanda-data:
driver: local
elasticsearch-data:
driver: local
kestra-data:
driver: local
services:
kafka:
image: docker.vectorized.io/vectorized/redpanda
command:
- redpanda
- start
- --smp
- '1'
- --reserve-memory
- 0M
- --overprovisioned
- --node-id
- '0'
- --kafka-addr
- PLAINTEXT://0.0.0.0:9092
- --advertise-kafka-addr
- PLAINTEXT://kafka:9092
volumes:
- redpanda-data:/var/lib/redpanda/data
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:7.15.2
environment:
discovery.type: single-node
cluster.routing.allocation.disk.threshold_enabled: "false"
xpack.security.enabled: "false"
ES_JAVA_OPTS: "-Xms256m -Xmx256m"
ulimits:
memlock:
soft: -1
hard: -1
nofile:
soft: 65536
hard: 65536
volumes:
- elasticsearch-data:/usr/share/elasticsearch/data
kestra:
image: kestra/kestra:develop-full
command: server standalone
volumes:
- kestra-data:/app/storage
- /var/run/docker.sock:/var/run/docker.sock
- /tmp/kestra:/tmp/kestra
environment:
KESTRA_CONFIGURATION: |
kestra:
kafka:
client:
properties:
bootstrap.servers: kafka:9092
elasticsearch:
client:
http-hosts: http://elasticsearch:9200
repository:
type: elasticsearch
storage:
type: local
local:
base-path: "/app/storage"
queue:
type: kafka
tasks:
tmp-dir:
path: /tmp/kestra/tmp
url: http://localhost:8080/
ports:
- "28080:8080"
links:
- kafkaI've an error on the topic creation, don't know why |
|
With the last version (and some minor change in kestra), we have another error : that link to this issue : redpanda-data/redpanda#998 We need this one before continune |
Issue description
Redpanda is faster and smaller for local env, it could be interesting to replace kafka and zookeeper in the develop docker-compose
https://github.com/kestra-io/kestra/blob/develop/docker-compose.yml
The text was updated successfully, but these errors were encountered: