# Compose override for inventory-api development/full-kessel stack. # Applied by scripts/local_stack/up-full.sh when starting the integrated stack. # # Enables Read-Your-Writes for workspace creates and configures a local PSK so # Host Inventory can call RBAC internal APIs without BYPASS_RBAC. services: # Podman can omit the service-name alias when attaching an existing external # network. Make the broker name used by the RBAC consumer explicit. kafka: environment: # The full local stack runs within a small Docker VM. Keep Kafka from # consuming the memory needed by the RBAC, Kessel, and Debezium services. KAFKA_HEAP_OPTS: "-Xms64M -Xmx192M" KAFKA_LOG_CLEANER_DEDUPE_BUFFER_SIZE: "33554432" command: - sh - -c - >- bin/kafka-server-start.sh config/server.properties --override listeners=$${KAFKA_LISTENERS} --override advertised.listeners=$${KAFKA_ADVERTISED_LISTENERS} --override zookeeper.connect=$${KAFKA_ZOOKEEPER_CONNECT} --override listener.security.protocol.map=$${KAFKA_LISTENER_SECURITY_PROTOCOL_MAP} --override inter.broker.listener.name=$${KAFKA_INTER_BROKER_LISTENER_NAME} --override log.cleaner.dedupe.buffer.size=$${KAFKA_LOG_CLEANER_DEDUPE_BUFFER_SIZE} healthcheck: # The broker API probe can exceed the healthcheck timeout while Kafka # loads its local metadata. A listener probe is sufficient for compose # ordering and avoids starting another JVM client in the small VM. test: ["CMD-SHELL", "bash -c '