Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #265 #266

Merged
merged 1 commit into from
Oct 18, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions tests/KNetCompactedReplicatorTest/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ private static void TestValues(string topicName, int length, UpdateModeTypes typ
UpdateMode = type,
BootstrapServers = serverToUse,
StateName = topicName,
ValueSerDes = new JsonSerDes<TestType>(),
ValueSerDes = new JsonSerDes.Value<TestType>(),
})
{
replicator.StartAndWait();
Expand Down Expand Up @@ -130,7 +130,7 @@ private static void Test(string topicName, int length, UpdateModeTypes type, int
UpdateMode = type,
BootstrapServers = serverToUse,
StateName = topicName,
ValueSerDes = new JsonSerDes<TestType>(),
ValueSerDes = new JsonSerDes.Value<TestType>(),
})
{
replicator.StartAndWait();
Expand Down Expand Up @@ -158,7 +158,7 @@ private static void TestOnlyRead(string topicName, int length, UpdateModeTypes t
UpdateMode = type,
BootstrapServers = serverToUse,
StateName = topicName,
ValueSerDes = new JsonSerDes<TestType>(),
ValueSerDes = new JsonSerDes.Value<TestType>(),
})
{
replicator.StartAndWait();
Expand Down
4 changes: 2 additions & 2 deletions tests/KNetTest/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ static void ProduceSomething()
.ToProperties();

KNetSerDes<string> keySerializer = new KNetSerDes<string>();
JsonSerDes<TestType> valueSerializer = new JsonSerDes<TestType>();
JsonSerDes.Value<TestType> valueSerializer = new JsonSerDes.Value<TestType>();
try
{
using (var producer = new KNetProducer<string, TestType>(props, keySerializer, valueSerializer))
Expand Down Expand Up @@ -248,7 +248,7 @@ static void ConsumeSomething()
.ToProperties();

KNetSerDes<string> keyDeserializer = new KNetSerDes<string>();
KNetSerDes<TestType> valueDeserializer = new JsonSerDes<TestType>();
KNetSerDes<TestType> valueDeserializer = new JsonSerDes.Value<TestType>();
ConsumerRebalanceListener rebalanceListener = null;
KNetConsumer<string, TestType> consumer = null;

Expand Down