0.6.0
New:
- Support trimming common suffixes (Event, Consumer, EventConsumer) by default e.g.
SimpleEvent
becomesSimple
,SimpleEventConsumer
becomesSimple
. This behaviour can be disabled by settingTrimTypeNames = false
. - Support for
Metadata
inEventRegistration
andEventConsumerRegistration
.
Fixes:
- Support for multiple consumers for the same event in one application domain so long as the transport allows it.
Breaking:
- RabbitMQ requires use of full types names e.g.
services.AddEventBus(builder => builder.Configure(o => o.UseFullTypeNames = true))
- Use of short names is allowed for consumer names.
- Kafka transport does not support more than one consumer per event in the same application.
- Azure Storage Queues transport does not support more than one consumer per event in the same application.
ConsumerRegistration
renamed toEventConsumerRegistration
and canonly exist in the context of anEventRegistration
Dependencies:
- Bump AWSSDK.Core from 3.5.1.59 to 3.5.2.0
- Bump AWSSDK.Kinesis from 3.5.0.59 to 3.5.0.61
- Bump AWSSDK.SQS from 3.5.1.8 to 3.5.1.10
- Bump AWSSDK.SimpleNotificationService from 3.5.1.31 to 3.5.1.33
- Bump System.Text.Json from 5.0.0 to 5.0.1