Kafka.Protocol 2.0.0-pre-71

This is a prerelease version of Kafka.Protocol.
There is a newer version of this package available.
See the version list below for details.
dotnet add package Kafka.Protocol --version 2.0.0-pre-71
                    
NuGet\Install-Package Kafka.Protocol -Version 2.0.0-pre-71
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Kafka.Protocol" Version="2.0.0-pre-71" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Kafka.Protocol" Version="2.0.0-pre-71" />
                    
Directory.Packages.props
<PackageReference Include="Kafka.Protocol" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Kafka.Protocol --version 2.0.0-pre-71
                    
#r "nuget: Kafka.Protocol, 2.0.0-pre-71"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Kafka.Protocol@2.0.0-pre-71
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Kafka.Protocol&version=2.0.0-pre-71&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Kafka.Protocol&version=2.0.0-pre-71&prerelease
                    
Install as a Cake Tool

Kafka protocol definitions

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Core netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.1 is compatible. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Kafka.Protocol:

Package Downloads
Kafka.TestFramework

Framework for testing integrations with Kafka

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
8.0.0 218 4/2/2025
8.0.0-pre-fba19ef2 150 4/2/2025
7.0.1 1,648 1/27/2025
7.0.1-pre-524be03a 87 1/27/2025
7.0.1-pre-159bfe3c 96 1/27/2025
7.0.0 138 1/15/2025
7.0.0-pre-dcf4418a 101 12/23/2024
7.0.0-pre-b6de0883 108 12/19/2024
7.0.0-pre-acbfddff 136 12/31/2024
7.0.0-pre-9388ce25 105 12/18/2024
7.0.0-pre-13443817 81 1/14/2025
6.0.0 145 11/14/2024
6.0.0-pre-f10205c1 103 11/13/2024
6.0.0-pre-62e2dea7 101 11/13/2024
6.0.0-pre-0b458e0a 106 11/13/2024
5.1.3-pre-440839a2 95 10/31/2024
5.1.3-pre-3f6b0a97 109 10/31/2024
5.1.2 203 10/14/2024
5.1.1 131 10/14/2024
5.1.1-pre-8ec4c2b9 128 8/17/2024
5.1.1-pre-071d5e0b 105 8/17/2024
5.1.0 369 7/23/2024
5.1.0-pre-86ae9ba6 113 7/15/2024
5.1.0-pre-32ee7bc4 111 7/22/2024
5.0.1 136 7/15/2024
5.0.1-pre-f60d04b9 81 7/10/2024
5.0.1-pre-e8bda9ac 123 6/29/2024
5.0.1-pre-cd5334a3 93 7/9/2024
5.0.1-pre-a8f1966d 102 7/15/2024
5.0.1-pre-38c84a45 165 7/10/2024
5.0.0 19,875 6/25/2024
5.0.0-pre-2b032ce2 122 6/25/2024
5.0.0-pre-0d00f5bd 122 6/25/2024
4.0.1 160 6/25/2024
4.0.1-pre-9d6abee7 117 6/25/2024
4.0.0 1,897 7/31/2023
4.0.0-pre-b3008400 184 6/27/2023
3.0.0 450 12/29/2022
3.0.0-pre-9527abba 203 12/29/2022
3.0.0-pre-5ff37ac3 185 12/29/2022
2.2.0-pre-11ea2b00 190 12/15/2022
2.1.0 1,818 2/11/2022
2.1.0-pre-19 235 2/11/2022
2.1.0-pre-17 220 2/10/2022
2.1.0-pre-16 225 2/10/2022
2.0.3 7,949 2/4/2022
2.0.3-pre-1 275 2/4/2022
2.0.2 11,163 2/2/2022
2.0.2-pre-8 243 2/1/2022
2.0.2-pre-7 239 1/29/2022
2.0.2-pre-3 255 1/28/2022
2.0.2-pre-2 236 1/27/2022
2.0.2-pre-1 241 1/22/2022
2.0.1 531 1/21/2022
2.0.1-pre-3 230 1/21/2022
2.0.1-pre-2 235 1/21/2022
2.0.0 7,390 1/21/2022
2.0.0-pre-75 256 12/29/2021
2.0.0-pre-74 233 12/29/2021
2.0.0-pre-73 231 12/29/2021
2.0.0-pre-72 237 12/28/2021
2.0.0-pre-71 237 12/28/2021
2.0.0-pre-64 242 12/23/2021
2.0.0-pre-62 237 12/23/2021
2.0.0-pre-61 268 12/23/2021
2.0.0-pre-57 261 12/21/2021
2.0.0-pre-56 251 12/21/2021
2.0.0-pre-54 267 12/18/2021
2.0.0-pre-52 268 12/17/2021
2.0.0-pre-140 357 1/19/2022
2.0.0-pre-137 253 1/19/2022
2.0.0-pre-134 239 1/18/2022
2.0.0-pre-133 233 1/18/2022
2.0.0-pre-132 233 1/18/2022
2.0.0-pre-131 236 1/18/2022
2.0.0-pre-130 245 1/18/2022
2.0.0-pre-127 257 1/16/2022
2.0.0-pre-126 288 1/16/2022
2.0.0-pre-124 266 1/15/2022
2.0.0-pre-123 230 1/15/2022
2.0.0-pre-121 251 1/14/2022
2.0.0-pre-119 239 1/14/2022
2.0.0-pre-116 253 1/12/2022
2.0.0-pre-113 243 1/12/2022
1.1.0-pre-50 258 12/16/2021
1.1.0-pre-49 274 12/15/2021
1.1.0-pre-48 251 12/15/2021
1.1.0-pre-47 249 12/15/2021
1.1.0-pre-46 246 12/15/2021
1.1.0-pre-45 272 12/14/2021
1.1.0-pre-43 275 12/14/2021
1.1.0-pre-40 259 12/13/2021
1.1.0-pre-38 277 12/13/2021
1.1.0-pre-36 246 12/13/2021
1.1.0-pre-22 256 12/4/2021
1.0.12 4,164 11/24/2021
1.0.12-pre-5 3,923 11/24/2021
1.0.12-pre-4 3,541 11/24/2021
1.0.0 1,013 5/6/2020

# [v2.0.0-pre-71](https://github.com/Fresa/Kafka.Protocol/compare/v1.0.0...v2.0.0-pre-71) (2021-12-28)


### Bug Fixes

* **request payload:** exceptions thrown when reading a request payload should not be hidden by the stream length reporter throwing because all data has not been read ([6b6975b](https://github.com/Fresa/Kafka.Protocol/commit/6b6975bb6e6367ac91fafd83dcbbb8899de4172e))
* nullable default fields ([d51e522](https://github.com/Fresa/Kafka.Protocol/commit/d51e52297f8a52d2c70118b0d1126bce08a735b2))
* **reader:** when there is less than expected bytes read the reader is not informed that the data has been inspected which is mandatory. Refactor to use an array buffer writer instead to continuesly write to ([14f93fe](https://github.com/Fresa/Kafka.Protocol/commit/14f93fe3360c3777efc93fbdb38c183dd7049ba8))
* add nullability check when transforming nullable maps to dictionaries to avoid null reference exceptions ([d730dcc](https://github.com/Fresa/Kafka.Protocol/commit/d730dcc4bd7ae68b19f0a9f65aa78714d4a0ce00))
* **message definitions:** remove old definitions before downloading new ([63b3bb5](https://github.com/Fresa/Kafka.Protocol/commit/63b3bb543c7df531af56299ea0a7559fcb6c65a5))
* incorrect syntax of the conditional operator for reading compactated fields ([08585b9](https://github.com/Fresa/Kafka.Protocol/commit/08585b983187a87579e1c964f8b1a360388c152f))


### Features

* **crc:** check for data corruption in records ([409ed50](https://github.com/Fresa/Kafka.Protocol/commit/409ed502b3eb25377905803b7c92cd9a7fa0abe5))
* **definitions:** update to latest protocol definition ([e8ae06d](https://github.com/Fresa/Kafka.Protocol/commit/e8ae06d8bfde80ee6a4c8ccbda7b3f8cf480aad2))
* **definitions:** update with the latest message deffinitions ([40b965a](https://github.com/Fresa/Kafka.Protocol/commit/40b965a59c2babb9be8b2dab6909477c4312bf35))
* **flexible versions:** support serializing flexible messages ([6d95901](https://github.com/Fresa/Kafka.Protocol/commit/6d9590167f696520e8f1391069a16533ade7a1c3))
* **tagged field:** support tagged (optional) fields ([145ffdf](https://github.com/Fresa/Kafka.Protocol/commit/145ffdf92b02d827320c7d2eb0effecb413715c0))


### Tests

* **recordbatch:** assure the length is correctly written ([7058687](https://github.com/Fresa/Kafka.Protocol/commit/70586877ea681b083351064022afd06215b19b92))


### BREAKING CHANGES

* **crc:** Records and record headers have been simplified and some redundant fields have been removed like key and value length. Records have also been updated to match latest protocol specification.
* **recordbatch:** refactored attribtutes to use an enum instead of properties to set timestamp type and compression
* **message definitions:** ListOffsetResponse and ListOffsetRequest have changed name to ListOffsetsResponse and ListOffsetsRequest