Event matching logic changed, allowing the matching with events with wildcards in the name. For example, when an event with the name order.create is received, it will match with event handlers with the name order.*. A Kafka Producer client is created for each notification, with a set of configurations provided by the appier.json file. The notification is instantly flushed to the kafka broker.
Animated GIF
Event:
Creating an order and the kafka consumer running on the right receives the event:
Coverage decreased (-0.3%) to 53.773% when pulling 100420f13648c23e1289603d6c6f9838abaacba3 on BeeMargarida:ms/notify_kafka into a9ed70e2a51a6e72e49e52ddd50b817ce311a448 on hivesolutions:master.
order.create
is received, it will match with event handlers with the nameorder.*
.A Kafka Producer client is created for each notification, with a set of configurations provided by the appier.json file. The notification is instantly flushed to the kafka broker.
Creating an order and the kafka consumer running on the right receives the event:
Event received by a kafka consumer: