{ "emailSettings": { "smtpConfig": { "host": "test.smpt.server", "port": 587, "secureConnection": true, "tls": { "ciphers": "SSLv3" }, "auth": { "user": "user", "pass": "password" } } }, "PORT": 3081, "KAFKA": { "TOPIC_TEMPLATES": { "NOTIFICATION_TOPIC_TEMPLATE": { "TEMPLATE": "topic-notification-event", "REGEX": "topic-notification-event" }, "GENERAL_TOPIC_TEMPLATE": { "TEMPLATE": "topic-{{functionality}}-{{action}}", "REGEX": "topic-(.*)-(.*)" } }, "CONSUMER": { "NOTIFICATION": { "EVENT": { "config": { "options": { "mode": 2, "batchSize": 1, "recursiveTimeout": 100, "messageCharset": "utf8", "messageAsJSON": true, "sync": true, "consumeTimeout": 1000 }, "rdkafkaConf": { "client.id": "enotifier-con", "group.id": "enotifier-group", "metadata.broker.list": "localhost:9092", "socket.blocking.max.ms": 1, "fetch.wait.max.ms": 1, "fetch.error.backoff.ms": 1, "queue.buffering.max.ms": 1, "broker.version.fallback": "0.10.1.0", "api.version.request": true, "enable.auto.commit": false, "auto.commit.interval.ms": 200, "socket.keepalive.enable": true, "socket.max.fails": 1, "allow.auto.create.topics": true }, "topicConf": { "auto.offset.reset": "earliest" } } } } }, "PRODUCER": { "NOTIFICATION": { "EVENT": { "config": { "options": { "messageCharset": "utf8" }, "rdkafkaConf": { "debug": "all", "metadata.broker.list": "localhost:9092", "client.id": "enotifier-prod", "event_cb": true, "compression.codec": "none", "retry.backoff.ms": 100, "message.send.max.retries": 2, "socket.keepalive.enable": true, "queue.buffering.max.messages": 10000000, "batch.num.messages": 100, "dr_cb": true, "socket.blocking.max.ms": 1, "queue.buffering.max.ms": 1, "broker.version.fallback": "0.10.1.0", "api.version.request": true } } } } } }, "HUB_PARTICIPANT": { "NAME": "Hub" } }