0.4.0
New:
- Multiple kinds of transport in one bus. [Major]
- Instrumentation using Activity Source (#43). Can be listened to using the
Tingle.EventBus
source name. [Major] - InMemory transport mirrors Azure Queue Storage but with in-memory queues, hence better placed for testing. [Major]
- Support basic tier for Azure Service Bus using queues only.
- Support basic tier for Azure Event Hubs using default consumer group (
$Default
) only. - Logs during publishing and consume in each transport
- Health and InMemory transport merged into the main project (Tingle.EventBus.Health and Tingle.EventBus.Transports.InMemory packages are no longer produced, referencing
Tingle.EventBus
or any transport library:Tingle.EventBus.Transport.*
is enough). - Standardized logging categories (
Tingle.EventBus
for the bus,Tingle.EventBus.Transports.*
for transports,Tingle.EventBus.Serializers.*
for serializers - Entity creation is optional for Azure Service Bus, Azure Queue Storage, and Amazon SQS transport.
- Default bus startup delay to 5 seconds.
- Allow overriding
PartitionKey
for events in Amazon Kinesis transport.
Fixes:
- Azure Service Bus transport connection string wrong reconstruction. Only the string version is supported.
- Azure Service Bus
CorrelationId
only set when provided. - Azure Event Hubs bug when working under net5.0 (See Azure/azure-sdk-for-net#13899, Azure/azure-sdk-for-net#14068, Azure/azure-sdk-for-net#15019).
- Azure Event Hubs transport only requires a connection string for blob storage if there are consumers.
- Azure Event Hubs transport uses the blob container name instead of a blob container prefix.
Dependencies:
- Bump AWSSDK.Core from 3.5.1.56 to 3.5.1.57
- Bump AWSSDK.Kinesis from 3.5.0.56 to 3.5.0.57
- Bump AWSSDK.SQS from 3.5.1.5 to 3.5.1.6
- Bump AWSSDK.SimpleNotificationService from 3.5.1.27 to 3.5.1.28
- Bump Microsoft.Azure.Amqp from 2.4.8 to 2.4.9
Other:
- Amazon packages are temporarily not being packaged (
Tingle.EventBus.Amazon.*
) as they are still much in development.