Skip to content

Commit

Permalink
fix: cr
Browse files Browse the repository at this point in the history
  • Loading branch information
fasazevedo committed Mar 27, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 376a6c1 commit 47f2b46
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using System.Threading.Tasks;
using System;
using System.Threading.Tasks;
using KafkaFlow.Middlewares.Serializer.Resolvers;
using Microsoft.IO;

@@ -38,7 +39,7 @@ public async Task Invoke(IMessageContext context, MiddlewareDelegate next)
{
await _typeResolver.OnProduceAsync(context);

byte[] messageValue = null;
byte[] messageValue = Array.Empty<byte>();

if (context.Message.Value is not null)
{

0 comments on commit 47f2b46

Please sign in to comment.