Class NakadiClientBuilder


  • public final class NakadiClientBuilder
    extends java.lang.Object
    • Method Detail

      • withObjectMapper

        public NakadiClientBuilder withObjectMapper​(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
      • build

        public NakadiClient build()
        Creates a new instance of NakadiClient. In case no ObjectMapper is provided, it's going to make use of DefaultObjectMapper that is making use of PropertyNamingStrategy.CAMEL_CASE_TO_LOWER_CASE_WITH_UNDERSCORES. In case no CursorManager is provided it's going to make use of ManagedCursorManager.
        Returns:
        A fresh instance of NakadiClient