Single Broker
Both apps the App 1 and the App 2 are connected to the same Broker, so both has the same connection configuration,
and Broker is considered the app domain for both apps.
- RabbitMQ
- Kafka
Both apps connect to the same broker, so both use the same connection properties for the app domain. See
RabbitMQ Configuration for the full list of properties,
YAML and programmatic configuration approaches.
application.yaml
app:
async:
app: # this is the name of the default domain, shared by App 1 and App 2
connectionProperties:
host: localhost
port: 5672
username: guest
password: guest
virtual-host: /
Both apps connect to the same cluster, so both use the same connection properties for the app domain. See
Kafka Configuration for the full list of properties, YAML
and programmatic configuration approaches.
application.yaml
reactive:
commons:
kafka:
app: # this is the name of the default domain, shared by App 1 and App 2
connectionProperties:
bootstrap-servers: localhost:9092