Configuration
Korvet is configured using Spring Boot’s standard configuration mechanisms.
Configuration Files
Configuration can be provided via:
-
application.ymlorapplication.properties -
Environment variables
-
Command-line arguments
Redis Configuration
Configure the Redis connection:
korvet:
redis:
host: redis.example.com
port: 6379
password: ${REDIS_PASSWORD}
ssl:
enabled: true
TLS Configuration
Enable TLS for the Kafka protocol endpoint:
korvet:
server:
tls:
enabled: true
cert-file: /path/to/server.crt
key-file: /path/to/server.key
key-password: ${KEY_PASSWORD}
Environment Variables
All configuration can be set via environment variables:
export KORVET_SERVER_PORT=9092
export KORVET_REDIS_HOST=redis.example.com
export KORVET_REDIS_PORT=6379