Skip to content

Instantly share code, notes, and snippets.

@haigopi
Created June 24, 2018 21:58
Show Gist options
  • Save haigopi/42b4b44fbfeace25d7f1d0a591967555 to your computer and use it in GitHub Desktop.
Save haigopi/42b4b44fbfeace25d7f1d0a591967555 to your computer and use it in GitHub Desktop.
return named("hellooo").withCalls(
pathCall("/api/hello/:id", this::hello),
pathCall("/api/hello/:id", this::useGreeting)).
withTopics(topic("hello-events", this::helloEvents).
withProperty(KafkaProperties.partitionKeyStrategy(), HelloEvent:: getName)).withAutoAcl(true);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment