New sample for Kafka native serialization with functions

This commit is contained in:
Soby Chacko
2020-01-09 17:32:28 -05:00
parent 6f263291a6
commit 85551b3376
14 changed files with 917 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
package com.example.kafkanativeserialization;
public class Person {
private String name;
public Person() {
}
public Person(String name) {
this.setName(name);
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
}