Skip to content

Commit c4f4c22

Browse files
authored
Add support for Data Contracts (confluentinc#2226)
* First commit * Add avro utils * Fix equals methods * Fix merge issue * Minor cleanup * Minor fixes * Add API to get schema ID and pass subject * Minor renaming * Minor fix * Add encryption example * Fix GetReaderSchema calls * Fix typo * Add tests * Add more examples * Minor cleanup * Add CSFLE tests for bytes * Add test for dek rotation * Ensure proper format of DEK version * Incorporate review feedback
1 parent ee32755 commit c4f4c22

File tree

152 files changed

+16049
-805
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

152 files changed

+16049
-805
lines changed

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ obj/
66
*.dylib
77
*.csproj.user
88
*.xproj.user
9+
*.sln.*.user
10+
.idea
911
.vs
1012
.vscode
1113
todo.txt

Confluent.Kafka.sln

+150
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,26 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "JsonWithReferences", "examp
7373
EndProject
7474
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Confluent.Kafka.TestsCommon", "test\Confluent.Kafka.TestsCommon\Confluent.Kafka.TestsCommon.csproj", "{1DDD2809-5B7B-4B95-80D3-A3A516D6D356}"
7575
EndProject
76+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Confluent.SchemaRegistry.Encryption", "src\Confluent.SchemaRegistry.Encryption\Confluent.SchemaRegistry.Encryption.csproj", "{CFA3E05E-0130-4AEA-9ED5-B4A843FC5475}"
77+
EndProject
78+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Confluent.SchemaRegistry.Encryption.Aws", "src\Confluent.SchemaRegistry.Encryption.Aws\Confluent.SchemaRegistry.Encryption.Aws.csproj", "{1366863F-0971-439D-8794-6C0CCA255442}"
79+
EndProject
80+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Confluent.SchemaRegistry.Encryption.Azure", "src\Confluent.SchemaRegistry.Encryption.Azure\Confluent.SchemaRegistry.Encryption.Azure.csproj", "{86D302C8-C62D-42BA-AC32-CD071CBF1444}"
81+
EndProject
82+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Confluent.SchemaRegistry.Encryption.Gcp", "src\Confluent.SchemaRegistry.Encryption.Gcp\Confluent.SchemaRegistry.Encryption.Gcp.csproj", "{CD85842D-809B-49FE-8D0B-4D4D35B38C42}"
83+
EndProject
84+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Confluent.SchemaRegistry.Encryption.HcVault", "src\Confluent.SchemaRegistry.Encryption.HcVault\Confluent.SchemaRegistry.Encryption.HcVault.csproj", "{7A83DAB3-C41C-4CA2-AB3C-6F38257CE911}"
85+
EndProject
86+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Confluent.SchemaRegistry.Rules", "src\Confluent.SchemaRegistry.Rules\Confluent.SchemaRegistry.Rules.csproj", "{50018131-78D8-474D-BCA0-ED813680BDD0}"
87+
EndProject
88+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AvroSpecificEncryption", "examples\AvroSpecificEncryption\AvroSpecificEncryption.csproj", "{D239D890-FB13-451E-BAC5-C446DC5923CB}"
89+
EndProject
90+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "JsonSerializationEncryption", "examples\JsonEncryption\JsonSerializationEncryption.csproj", "{222965B5-B263-4F2C-B629-F3AA5B3A82AF}"
91+
EndProject
92+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AvroGenericEncryption", "examples\AvroGenericEncryption\AvroGenericEncryption.csproj", "{6727B941-3E07-4841-84E0-8EE47E04A3B3}"
93+
EndProject
94+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ProtobufEncryption", "examples\ProtobufEncryption\ProtobufEncryption.csproj", "{6988FB1F-3648-4E5E-821F-55D67CA00FD7}"
95+
EndProject
7696
Global
7797
GlobalSection(SolutionConfigurationPlatforms) = preSolution
7898
Debug|Any CPU = Debug|Any CPU
@@ -470,6 +490,126 @@ Global
470490
{1DDD2809-5B7B-4B95-80D3-A3A516D6D356}.Release|x64.Build.0 = Release|Any CPU
471491
{1DDD2809-5B7B-4B95-80D3-A3A516D6D356}.Release|x86.ActiveCfg = Release|Any CPU
472492
{1DDD2809-5B7B-4B95-80D3-A3A516D6D356}.Release|x86.Build.0 = Release|Any CPU
493+
{CFA3E05E-0130-4AEA-9ED5-B4A843FC5475}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
494+
{CFA3E05E-0130-4AEA-9ED5-B4A843FC5475}.Debug|Any CPU.Build.0 = Debug|Any CPU
495+
{CFA3E05E-0130-4AEA-9ED5-B4A843FC5475}.Debug|x64.ActiveCfg = Debug|Any CPU
496+
{CFA3E05E-0130-4AEA-9ED5-B4A843FC5475}.Debug|x64.Build.0 = Debug|Any CPU
497+
{CFA3E05E-0130-4AEA-9ED5-B4A843FC5475}.Debug|x86.ActiveCfg = Debug|Any CPU
498+
{CFA3E05E-0130-4AEA-9ED5-B4A843FC5475}.Debug|x86.Build.0 = Debug|Any CPU
499+
{CFA3E05E-0130-4AEA-9ED5-B4A843FC5475}.Release|Any CPU.ActiveCfg = Release|Any CPU
500+
{CFA3E05E-0130-4AEA-9ED5-B4A843FC5475}.Release|Any CPU.Build.0 = Release|Any CPU
501+
{CFA3E05E-0130-4AEA-9ED5-B4A843FC5475}.Release|x64.ActiveCfg = Release|Any CPU
502+
{CFA3E05E-0130-4AEA-9ED5-B4A843FC5475}.Release|x64.Build.0 = Release|Any CPU
503+
{CFA3E05E-0130-4AEA-9ED5-B4A843FC5475}.Release|x86.ActiveCfg = Release|Any CPU
504+
{CFA3E05E-0130-4AEA-9ED5-B4A843FC5475}.Release|x86.Build.0 = Release|Any CPU
505+
{1366863F-0971-439D-8794-6C0CCA255442}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
506+
{1366863F-0971-439D-8794-6C0CCA255442}.Debug|Any CPU.Build.0 = Debug|Any CPU
507+
{1366863F-0971-439D-8794-6C0CCA255442}.Debug|x64.ActiveCfg = Debug|Any CPU
508+
{1366863F-0971-439D-8794-6C0CCA255442}.Debug|x64.Build.0 = Debug|Any CPU
509+
{1366863F-0971-439D-8794-6C0CCA255442}.Debug|x86.ActiveCfg = Debug|Any CPU
510+
{1366863F-0971-439D-8794-6C0CCA255442}.Debug|x86.Build.0 = Debug|Any CPU
511+
{1366863F-0971-439D-8794-6C0CCA255442}.Release|Any CPU.ActiveCfg = Release|Any CPU
512+
{1366863F-0971-439D-8794-6C0CCA255442}.Release|Any CPU.Build.0 = Release|Any CPU
513+
{1366863F-0971-439D-8794-6C0CCA255442}.Release|x64.ActiveCfg = Release|Any CPU
514+
{1366863F-0971-439D-8794-6C0CCA255442}.Release|x64.Build.0 = Release|Any CPU
515+
{1366863F-0971-439D-8794-6C0CCA255442}.Release|x86.ActiveCfg = Release|Any CPU
516+
{1366863F-0971-439D-8794-6C0CCA255442}.Release|x86.Build.0 = Release|Any CPU
517+
{86D302C8-C62D-42BA-AC32-CD071CBF1444}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
518+
{86D302C8-C62D-42BA-AC32-CD071CBF1444}.Debug|Any CPU.Build.0 = Debug|Any CPU
519+
{86D302C8-C62D-42BA-AC32-CD071CBF1444}.Debug|x64.ActiveCfg = Debug|Any CPU
520+
{86D302C8-C62D-42BA-AC32-CD071CBF1444}.Debug|x64.Build.0 = Debug|Any CPU
521+
{86D302C8-C62D-42BA-AC32-CD071CBF1444}.Debug|x86.ActiveCfg = Debug|Any CPU
522+
{86D302C8-C62D-42BA-AC32-CD071CBF1444}.Debug|x86.Build.0 = Debug|Any CPU
523+
{86D302C8-C62D-42BA-AC32-CD071CBF1444}.Release|Any CPU.ActiveCfg = Release|Any CPU
524+
{86D302C8-C62D-42BA-AC32-CD071CBF1444}.Release|Any CPU.Build.0 = Release|Any CPU
525+
{86D302C8-C62D-42BA-AC32-CD071CBF1444}.Release|x64.ActiveCfg = Release|Any CPU
526+
{86D302C8-C62D-42BA-AC32-CD071CBF1444}.Release|x64.Build.0 = Release|Any CPU
527+
{86D302C8-C62D-42BA-AC32-CD071CBF1444}.Release|x86.ActiveCfg = Release|Any CPU
528+
{86D302C8-C62D-42BA-AC32-CD071CBF1444}.Release|x86.Build.0 = Release|Any CPU
529+
{CD85842D-809B-49FE-8D0B-4D4D35B38C42}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
530+
{CD85842D-809B-49FE-8D0B-4D4D35B38C42}.Debug|Any CPU.Build.0 = Debug|Any CPU
531+
{CD85842D-809B-49FE-8D0B-4D4D35B38C42}.Debug|x64.ActiveCfg = Debug|Any CPU
532+
{CD85842D-809B-49FE-8D0B-4D4D35B38C42}.Debug|x64.Build.0 = Debug|Any CPU
533+
{CD85842D-809B-49FE-8D0B-4D4D35B38C42}.Debug|x86.ActiveCfg = Debug|Any CPU
534+
{CD85842D-809B-49FE-8D0B-4D4D35B38C42}.Debug|x86.Build.0 = Debug|Any CPU
535+
{CD85842D-809B-49FE-8D0B-4D4D35B38C42}.Release|Any CPU.ActiveCfg = Release|Any CPU
536+
{CD85842D-809B-49FE-8D0B-4D4D35B38C42}.Release|Any CPU.Build.0 = Release|Any CPU
537+
{CD85842D-809B-49FE-8D0B-4D4D35B38C42}.Release|x64.ActiveCfg = Release|Any CPU
538+
{CD85842D-809B-49FE-8D0B-4D4D35B38C42}.Release|x64.Build.0 = Release|Any CPU
539+
{CD85842D-809B-49FE-8D0B-4D4D35B38C42}.Release|x86.ActiveCfg = Release|Any CPU
540+
{CD85842D-809B-49FE-8D0B-4D4D35B38C42}.Release|x86.Build.0 = Release|Any CPU
541+
{7A83DAB3-C41C-4CA2-AB3C-6F38257CE911}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
542+
{7A83DAB3-C41C-4CA2-AB3C-6F38257CE911}.Debug|Any CPU.Build.0 = Debug|Any CPU
543+
{7A83DAB3-C41C-4CA2-AB3C-6F38257CE911}.Debug|x64.ActiveCfg = Debug|Any CPU
544+
{7A83DAB3-C41C-4CA2-AB3C-6F38257CE911}.Debug|x64.Build.0 = Debug|Any CPU
545+
{7A83DAB3-C41C-4CA2-AB3C-6F38257CE911}.Debug|x86.ActiveCfg = Debug|Any CPU
546+
{7A83DAB3-C41C-4CA2-AB3C-6F38257CE911}.Debug|x86.Build.0 = Debug|Any CPU
547+
{7A83DAB3-C41C-4CA2-AB3C-6F38257CE911}.Release|Any CPU.ActiveCfg = Release|Any CPU
548+
{7A83DAB3-C41C-4CA2-AB3C-6F38257CE911}.Release|Any CPU.Build.0 = Release|Any CPU
549+
{7A83DAB3-C41C-4CA2-AB3C-6F38257CE911}.Release|x64.ActiveCfg = Release|Any CPU
550+
{7A83DAB3-C41C-4CA2-AB3C-6F38257CE911}.Release|x64.Build.0 = Release|Any CPU
551+
{7A83DAB3-C41C-4CA2-AB3C-6F38257CE911}.Release|x86.ActiveCfg = Release|Any CPU
552+
{7A83DAB3-C41C-4CA2-AB3C-6F38257CE911}.Release|x86.Build.0 = Release|Any CPU
553+
{50018131-78D8-474D-BCA0-ED813680BDD0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
554+
{50018131-78D8-474D-BCA0-ED813680BDD0}.Debug|Any CPU.Build.0 = Debug|Any CPU
555+
{50018131-78D8-474D-BCA0-ED813680BDD0}.Debug|x64.ActiveCfg = Debug|Any CPU
556+
{50018131-78D8-474D-BCA0-ED813680BDD0}.Debug|x64.Build.0 = Debug|Any CPU
557+
{50018131-78D8-474D-BCA0-ED813680BDD0}.Debug|x86.ActiveCfg = Debug|Any CPU
558+
{50018131-78D8-474D-BCA0-ED813680BDD0}.Debug|x86.Build.0 = Debug|Any CPU
559+
{50018131-78D8-474D-BCA0-ED813680BDD0}.Release|Any CPU.ActiveCfg = Release|Any CPU
560+
{50018131-78D8-474D-BCA0-ED813680BDD0}.Release|Any CPU.Build.0 = Release|Any CPU
561+
{50018131-78D8-474D-BCA0-ED813680BDD0}.Release|x64.ActiveCfg = Release|Any CPU
562+
{50018131-78D8-474D-BCA0-ED813680BDD0}.Release|x64.Build.0 = Release|Any CPU
563+
{50018131-78D8-474D-BCA0-ED813680BDD0}.Release|x86.ActiveCfg = Release|Any CPU
564+
{50018131-78D8-474D-BCA0-ED813680BDD0}.Release|x86.Build.0 = Release|Any CPU
565+
{D239D890-FB13-451E-BAC5-C446DC5923CB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
566+
{D239D890-FB13-451E-BAC5-C446DC5923CB}.Debug|Any CPU.Build.0 = Debug|Any CPU
567+
{D239D890-FB13-451E-BAC5-C446DC5923CB}.Debug|x64.ActiveCfg = Debug|Any CPU
568+
{D239D890-FB13-451E-BAC5-C446DC5923CB}.Debug|x64.Build.0 = Debug|Any CPU
569+
{D239D890-FB13-451E-BAC5-C446DC5923CB}.Debug|x86.ActiveCfg = Debug|Any CPU
570+
{D239D890-FB13-451E-BAC5-C446DC5923CB}.Debug|x86.Build.0 = Debug|Any CPU
571+
{D239D890-FB13-451E-BAC5-C446DC5923CB}.Release|Any CPU.ActiveCfg = Release|Any CPU
572+
{D239D890-FB13-451E-BAC5-C446DC5923CB}.Release|Any CPU.Build.0 = Release|Any CPU
573+
{D239D890-FB13-451E-BAC5-C446DC5923CB}.Release|x64.ActiveCfg = Release|Any CPU
574+
{D239D890-FB13-451E-BAC5-C446DC5923CB}.Release|x64.Build.0 = Release|Any CPU
575+
{D239D890-FB13-451E-BAC5-C446DC5923CB}.Release|x86.ActiveCfg = Release|Any CPU
576+
{D239D890-FB13-451E-BAC5-C446DC5923CB}.Release|x86.Build.0 = Release|Any CPU
577+
{222965B5-B263-4F2C-B629-F3AA5B3A82AF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
578+
{222965B5-B263-4F2C-B629-F3AA5B3A82AF}.Debug|Any CPU.Build.0 = Debug|Any CPU
579+
{222965B5-B263-4F2C-B629-F3AA5B3A82AF}.Debug|x64.ActiveCfg = Debug|Any CPU
580+
{222965B5-B263-4F2C-B629-F3AA5B3A82AF}.Debug|x64.Build.0 = Debug|Any CPU
581+
{222965B5-B263-4F2C-B629-F3AA5B3A82AF}.Debug|x86.ActiveCfg = Debug|Any CPU
582+
{222965B5-B263-4F2C-B629-F3AA5B3A82AF}.Debug|x86.Build.0 = Debug|Any CPU
583+
{222965B5-B263-4F2C-B629-F3AA5B3A82AF}.Release|Any CPU.ActiveCfg = Release|Any CPU
584+
{222965B5-B263-4F2C-B629-F3AA5B3A82AF}.Release|Any CPU.Build.0 = Release|Any CPU
585+
{222965B5-B263-4F2C-B629-F3AA5B3A82AF}.Release|x64.ActiveCfg = Release|Any CPU
586+
{222965B5-B263-4F2C-B629-F3AA5B3A82AF}.Release|x64.Build.0 = Release|Any CPU
587+
{222965B5-B263-4F2C-B629-F3AA5B3A82AF}.Release|x86.ActiveCfg = Release|Any CPU
588+
{222965B5-B263-4F2C-B629-F3AA5B3A82AF}.Release|x86.Build.0 = Release|Any CPU
589+
{6727B941-3E07-4841-84E0-8EE47E04A3B3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
590+
{6727B941-3E07-4841-84E0-8EE47E04A3B3}.Debug|Any CPU.Build.0 = Debug|Any CPU
591+
{6727B941-3E07-4841-84E0-8EE47E04A3B3}.Debug|x64.ActiveCfg = Debug|Any CPU
592+
{6727B941-3E07-4841-84E0-8EE47E04A3B3}.Debug|x64.Build.0 = Debug|Any CPU
593+
{6727B941-3E07-4841-84E0-8EE47E04A3B3}.Debug|x86.ActiveCfg = Debug|Any CPU
594+
{6727B941-3E07-4841-84E0-8EE47E04A3B3}.Debug|x86.Build.0 = Debug|Any CPU
595+
{6727B941-3E07-4841-84E0-8EE47E04A3B3}.Release|Any CPU.ActiveCfg = Release|Any CPU
596+
{6727B941-3E07-4841-84E0-8EE47E04A3B3}.Release|Any CPU.Build.0 = Release|Any CPU
597+
{6727B941-3E07-4841-84E0-8EE47E04A3B3}.Release|x64.ActiveCfg = Release|Any CPU
598+
{6727B941-3E07-4841-84E0-8EE47E04A3B3}.Release|x64.Build.0 = Release|Any CPU
599+
{6727B941-3E07-4841-84E0-8EE47E04A3B3}.Release|x86.ActiveCfg = Release|Any CPU
600+
{6727B941-3E07-4841-84E0-8EE47E04A3B3}.Release|x86.Build.0 = Release|Any CPU
601+
{6988FB1F-3648-4E5E-821F-55D67CA00FD7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
602+
{6988FB1F-3648-4E5E-821F-55D67CA00FD7}.Debug|Any CPU.Build.0 = Debug|Any CPU
603+
{6988FB1F-3648-4E5E-821F-55D67CA00FD7}.Debug|x64.ActiveCfg = Debug|Any CPU
604+
{6988FB1F-3648-4E5E-821F-55D67CA00FD7}.Debug|x64.Build.0 = Debug|Any CPU
605+
{6988FB1F-3648-4E5E-821F-55D67CA00FD7}.Debug|x86.ActiveCfg = Debug|Any CPU
606+
{6988FB1F-3648-4E5E-821F-55D67CA00FD7}.Debug|x86.Build.0 = Debug|Any CPU
607+
{6988FB1F-3648-4E5E-821F-55D67CA00FD7}.Release|Any CPU.ActiveCfg = Release|Any CPU
608+
{6988FB1F-3648-4E5E-821F-55D67CA00FD7}.Release|Any CPU.Build.0 = Release|Any CPU
609+
{6988FB1F-3648-4E5E-821F-55D67CA00FD7}.Release|x64.ActiveCfg = Release|Any CPU
610+
{6988FB1F-3648-4E5E-821F-55D67CA00FD7}.Release|x64.Build.0 = Release|Any CPU
611+
{6988FB1F-3648-4E5E-821F-55D67CA00FD7}.Release|x86.ActiveCfg = Release|Any CPU
612+
{6988FB1F-3648-4E5E-821F-55D67CA00FD7}.Release|x86.Build.0 = Release|Any CPU
473613
EndGlobalSection
474614
GlobalSection(NestedProjects) = preSolution
475615
{09C3255B-1972-4EB8-91D0-FB9F5CD82BCB} = {1EFCD839-0726-4BCE-B745-1E829991B1BC}
@@ -501,5 +641,15 @@ Global
501641
{8F582FFF-EA30-47F1-89D2-81A37F5E7E0C} = {9CE4B5F7-9251-4340-BACB-207066A5DBE8}
502642
{2931D890-9420-4EA7-BCEE-AAD53108A629} = {9CE4B5F7-9251-4340-BACB-207066A5DBE8}
503643
{1DDD2809-5B7B-4B95-80D3-A3A516D6D356} = {90058283-1F8F-465D-89E4-D4374A27E612}
644+
{CFA3E05E-0130-4AEA-9ED5-B4A843FC5475} = {1EFCD839-0726-4BCE-B745-1E829991B1BC}
645+
{1366863F-0971-439D-8794-6C0CCA255442} = {1EFCD839-0726-4BCE-B745-1E829991B1BC}
646+
{86D302C8-C62D-42BA-AC32-CD071CBF1444} = {1EFCD839-0726-4BCE-B745-1E829991B1BC}
647+
{CD85842D-809B-49FE-8D0B-4D4D35B38C42} = {1EFCD839-0726-4BCE-B745-1E829991B1BC}
648+
{7A83DAB3-C41C-4CA2-AB3C-6F38257CE911} = {1EFCD839-0726-4BCE-B745-1E829991B1BC}
649+
{50018131-78D8-474D-BCA0-ED813680BDD0} = {1EFCD839-0726-4BCE-B745-1E829991B1BC}
650+
{D239D890-FB13-451E-BAC5-C446DC5923CB} = {9CE4B5F7-9251-4340-BACB-207066A5DBE8}
651+
{222965B5-B263-4F2C-B629-F3AA5B3A82AF} = {9CE4B5F7-9251-4340-BACB-207066A5DBE8}
652+
{6727B941-3E07-4841-84E0-8EE47E04A3B3} = {9CE4B5F7-9251-4340-BACB-207066A5DBE8}
653+
{6988FB1F-3648-4E5E-821F-55D67CA00FD7} = {9CE4B5F7-9251-4340-BACB-207066A5DBE8}
504654
EndGlobalSection
505655
EndGlobal

Directory.build.props

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<Project>
2+
<PropertyGroup>
3+
<LangVersion>10</LangVersion>
4+
</PropertyGroup>
5+
</Project>

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ confluent-kafka-dotnet is distributed via NuGet. We provide five packages:
3838
- [Confluent.SchemaRegistry.Serdes.Avro](https://www.nuget.org/packages/Confluent.SchemaRegistry.Serdes.Avro/) *[netstandard2.0]* - Provides a serializer and deserializer for working with Avro serialized data with Confluent Schema Registry integration.
3939
- [Confluent.SchemaRegistry.Serdes.Protobuf](https://www.nuget.org/packages/Confluent.SchemaRegistry.Serdes.Protobuf/) *[netstandard2.0]* - Provides a serializer and deserializer for working with Protobuf serialized data with Confluent Schema Registry integration.
4040
- [Confluent.SchemaRegistry.Serdes.Json](https://www.nuget.org/packages/Confluent.SchemaRegistry.Serdes.Json/) *[netstandard2.0]* - Provides a serializer and deserializer for working with Json serialized data with Confluent Schema Registry integration.
41-
- [Confluent.SchemaRegistry](https://www.nuget.org/packages/Confluent.SchemaRegistry/) *[netstandard1.4, netstandard2.0]* - Confluent Schema Registry client (a dependency of the Confluent.SchemaRegistry.Serdes packages).
41+
- [Confluent.SchemaRegistry](https://www.nuget.org/packages/Confluent.SchemaRegistry/) *[netstandard2.0]* - Confluent Schema Registry client (a dependency of the Confluent.SchemaRegistry.Serdes packages).
4242

4343
To install Confluent.Kafka from within Visual Studio, search for Confluent.Kafka in the NuGet Package Manager UI, or run the following command in the Package Manager Console:
4444

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
3+
<PropertyGroup>
4+
<ProjectTypeGuids>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
5+
<AssemblyName>AvroGenericEncryption</AssemblyName>
6+
<OutputType>Exe</OutputType>
7+
<TargetFramework>net6.0</TargetFramework>
8+
<LangVersion>7.1</LangVersion>
9+
</PropertyGroup>
10+
11+
<ItemGroup>
12+
<!-- nuget package reference: <PackageReference Include="Confluent.SchemaRegistry.Serdes.Avro" Version="2.4.0" /> -->
13+
<ProjectReference Include="../../src/Confluent.SchemaRegistry.Serdes.Avro/Confluent.SchemaRegistry.Serdes.Avro.csproj" />
14+
<ProjectReference Include="../../src/Confluent.SchemaRegistry.Encryption.Aws/Confluent.SchemaRegistry.Encryption.Aws.csproj" />
15+
<ProjectReference Include="../../src/Confluent.SchemaRegistry.Encryption.Azure/Confluent.SchemaRegistry.Encryption.Azure.csproj" />
16+
<ProjectReference Include="../../src/Confluent.SchemaRegistry.Encryption.Gcp/Confluent.SchemaRegistry.Encryption.Gcp.csproj" />
17+
<ProjectReference Include="../../src/Confluent.SchemaRegistry.Encryption.HcVault/Confluent.SchemaRegistry.Encryption.HcVault.csproj" />
18+
</ItemGroup>
19+
20+
</Project>

0 commit comments

Comments
 (0)