-
Notifications
You must be signed in to change notification settings - Fork 1
Updating to Version 11
Version 11 brings 2 significant improvements and some breaking changes.
Version 11 uses .NET 9.0 and requires the .NET 9 SDK.
Note: If your development environment is Linux based and you are not using the most current release of your distribution, you may need to use a different package repository. Example: For Ubuntu LTS you need to use the Ubuntu .NET backports package repository as specified here, note the selected distribution.
In addition to installing the .NET SDK, you may need to update your deployment. The docker file in the Example app has been updated and references a .NET 9 image.
Being able to test your automations effectively has always been a primary concern of HaKafkaNet. Unit testing any implementation of IAutomation
has always been, and will continue to be, straight forward.
However, a lot of automations are created in IAutomationRegistry
classes using the IAutomationBuilder
where multiple automations are created. Unit testing these automations is inherently complex. To aid testing of these automations, the Test Harness was created. Its goal was to allow component level testing of individual registries. Unfortunately, maintaining this functionality has been difficult as new features and new types of automations have been added.
Therefore, HaKafkaNet will be moving from a component testing model to an integration testing model where the interface to the tests, specifically JSON delivered to Kafka, will be more stable. The Automated Testing documentation has been updated. If you are not already familiar with integration testing in ASP.NET core, please see this documentation from Microsoft.