Skip to content

Commit

Permalink
fix: new serialization extension methods
Browse files Browse the repository at this point in the history
  • Loading branch information
jose-sousa-8 committed Oct 25, 2023
1 parent 896a256 commit 3775633
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/KafkaFlow.IntegrationTests/GlobalEventsTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ private void ConfigureConsumer<T>(IConsumerConfigurationBuilder consumerConfigur
.WithAutoOffsetReset(KafkaFlow.AutoOffsetReset.Earliest)
.AddMiddlewares(
middlewares => middlewares
.AddSerializer<ProtobufNetSerializer>()
.AddDeserializer<ProtobufNetDeserializer>()
.Add<T>())
.WithPartitionsAssignedHandler((_, _) =>
{
Expand Down
2 changes: 1 addition & 1 deletion src/KafkaFlow.IntegrationTests/OpenTelemetryTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ private async Task<IServiceProvider> GetServiceProvider()
.WithAutoOffsetReset(AutoOffsetReset.Latest)
.AddMiddlewares(
middlewares => middlewares
.AddCompressor<GzipMessageCompressor>()
.AddDecompressor<GzipMessageDecompressor>()
.Add<GzipMiddleware>())
.WithPartitionsAssignedHandler((_, _) =>
{
Expand Down

0 comments on commit 3775633

Please sign in to comment.