Package
Supported Transports
Infinitic currently supports two transport implementations:- Pulsar - Apache Pulsar message broker (recommended for production)
- InMemory - In-memory transport (for testing and development)
Common Properties
Duration in seconds to wait for ongoing messages to complete during shutdown
Prefix for CloudEvent sources (used in event logging)
Pulsar Transport
Configuration Properties
Pulsar broker service URL
Pulsar web service URL (for admin operations)
Pulsar tenant name
Pulsar namespace name
Set of allowed Pulsar clusters (for geo-replication)
Pulsar policies configuration
Message retention time in minutes
Message retention storage size in MB
Maximum producers per topic
Maximum consumers per topic
Maximum consumers per subscription
Example Pulsar YAML Configuration
Kotlin Pulsar Configuration
InMemory Transport
The in-memory transport is useful for testing and local development. It does not persist messages and all communication happens within the same JVM.Example InMemory YAML Configuration
Kotlin InMemory Configuration
Authentication
JWT Token Authentication
OAuth2 Authentication
SSL/TLS Configuration
Topics Structure
Infinitic creates the following topic structure:Best Practices
Production Configuration
Development Configuration
Testing Configuration
Monitoring
Pulsar Metrics
Monitor these Pulsar metrics:- Topic throughput (messages/sec)
- Consumer lag
- Message backlog
- Producer/consumer counts
- Replication lag (if using geo-replication)
Health Checks
Troubleshooting
Connection Issues
Message Backlog
If messages are backing up:- Increase worker concurrency
- Add more worker instances
- Check for slow tasks
- Review retention policies