Skip to content

Conversation

@adyach
Copy link
Contributor

@adyach adyach commented Dec 20, 2022

With this commit it is easy to use Avro as never

  1. update library dependencies
  2. in Nakadi client builder provide Avro serializer:
final NakadiClient client = NakadiClient.newBuilder()
                         ... 
                         .serializationSupport(AvroSerializationSupport.newInstance()) 
                         .build(); 

the pojo business / data change events will be serialized to Avro.

* with this commit it is easy to use Avro as never
1. update library dependencies
2. in Nakadi client builder provide Avro serializer:
    final NakadiClient client = NakadiClient.newBuilder()
        ...
        .serializationSupport(AvroSerializationSupport.newInstance())
        .build();
the pojo business / data change events will be serialized to Avro.
@adyach adyach mentioned this pull request Dec 20, 2022
Copy link

@muhammad-hamed muhammad-hamed left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

minor change.

}

@Test
public void testToBytes() throws IOException {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

testToBytes method is duplicated here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants