Skip to content

Instantly share code, notes, and snippets.

@sohangp
Last active November 19, 2019 19:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sohangp/8bf3d3753e5a9de64b09b6794ba26585 to your computer and use it in GitHub Desktop.
Save sohangp/8bf3d3753e5a9de64b09b6794ba26585 to your computer and use it in GitHub Desktop.
Creating the EmbeddedEngine
private CDCListener(Configuration studentConnector, StudentService studentService) {
this.engine = EmbeddedEngine
.create()
.using(studentConnector)
.notifying(this::handleEvent).build();
this.studentService = studentService;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment