Umfangreiches Refactoring der Projektkonfiguration zur klaren Trennung von Build-, Runtime- und Applikations-Logik. Änderungen im Detail: - Struktur: Neuorganisation des `config/` Verzeichnisses in logische Bereiche: - `config/docker`: Reine Infrastruktur-Configs (Postgres, Redis, Nginx, Monitoring). - `config/quality`: Statische Code-Analyse (Detekt, Lint). - `config/app`: Gemeinsame Spring-Boot-Konfigurationen. - Docker Compose: - Einführung von Profilen (`infra`, `backend`, `ops`, `gui`, `tools`) für gezieltes Starten von Teilbereichen. - Anpassung aller Volume-Pfade auf die neue Struktur. - Spring Boot Config: - Zentralisierung gemeinsamer Einstellungen (Datasource, Redis, JPA) in `config/app/base-application.yml`. - Parametrisierung der Hosts für nahtlosen Wechsel zwischen Docker und Localhost. - Bereinigung der service-spezifischen `application.yaml` Dateien (z.B. Ping-Service). - Cleanup: Entfernen redundanter "Ghost-Files" (`versions.toml`, `central.toml`, `config/.env`), um eine echte Single Source of Truth (SSoT) zu gewährleisten.
21 lines
830 B
Plaintext
21 lines
830 B
Plaintext
// Kafka JAAS Configuration for Production
|
|
// =============================================================================
|
|
// This file configures SASL authentication for Kafka in production
|
|
// Change the passwords to strong, randomly generated values
|
|
// =============================================================================
|
|
|
|
KafkaServer {
|
|
org.apache.kafka.common.security.plain.PlainLoginModule required
|
|
username="admin"
|
|
password="CHANGE_ME_STRONG_KAFKA_ADMIN_PASSWORD"
|
|
user_admin="CHANGE_ME_STRONG_KAFKA_ADMIN_PASSWORD"
|
|
user_producer="CHANGE_ME_STRONG_KAFKA_PRODUCER_PASSWORD"
|
|
user_consumer="CHANGE_ME_STRONG_KAFKA_CONSUMER_PASSWORD";
|
|
};
|
|
|
|
Client {
|
|
org.apache.kafka.common.security.plain.PlainLoginModule required
|
|
username="admin"
|
|
password="CHANGE_ME_STRONG_KAFKA_ADMIN_PASSWORD";
|
|
};
|