Class

org.zalando.kanadi.api

Registry

Related Doc: package api

Permalink

case class Registry(baseUri: URI, oAuth2TokenProvider: Option[OAuth2TokenProvider] = None)(implicit kanadiHttpConfig: HttpConfig, http: HttpExt, materializer: Materializer) extends RegistryInterface with Product with Serializable

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Registry
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. RegistryInterface
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Registry(baseUri: URI, oAuth2TokenProvider: Option[OAuth2TokenProvider] = None)(implicit kanadiHttpConfig: HttpConfig, http: HttpExt, materializer: Materializer)

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. val baseUri: URI

    Permalink
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def enrichmentStrategies(implicit flowId: FlowId = randomFlowId(), executionContext: ExecutionContext): Future[List[String]]

    Permalink

    Lists all of the enrichment strategies supported by this Nakadi installation.

    Lists all of the enrichment strategies supported by this Nakadi installation. Special or custom strategies besides the defaults will be listed here.

    flowId

    The flow id of the request, which is written into the logs and passed to called services. Helpful for operational troubleshooting and log analysis.

    returns

    Returns a list of all enrichment strategies known to Nakadi

    Definition Classes
    RegistryRegistryInterface
  8. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  9. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  11. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  12. val logger: LoggerTakingImplicit[FlowId]

    Permalink
    Attributes
    protected
  13. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  14. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  15. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  16. val oAuth2TokenProvider: Option[OAuth2TokenProvider]

    Permalink
  17. def partitionStrategies(implicit flowId: FlowId = randomFlowId(), executionContext: ExecutionContext): Future[List[PartitionStrategy]]

    Permalink

    Lists all of the partition resolution strategies supported by this installation of Nakadi.

    Lists all of the partition resolution strategies supported by this installation of Nakadi. Special or custom strategies besides the defaults will be listed here.

    Nakadi currently offers these inbuilt strategies:

    org.zalando.kanadi.api.PartitionStrategy.Random: Resolution of the target partition happens randomly (events are evenly distributed on the topic's partitions). org.zalando.kanadi.api.PartitionStrategy.UserDefined: Target partition is defined by the client. As long as the indicated partition exists, Event assignment will respect this value. Correctness of the relative ordering of events is under the responsibility of the Producer. Requires that the client provides the target partition on org.zalando.kanadi.api.Metadata.partition (See org.zalando.kanadi.api.Metadata). Failure to do so will reject the publishing of the org.zalando.kanadi.api.Event. org.zalando.kanadi.api.PartitionStrategy.Hash: Resolution of the partition follows the computation of a hash from the value of the fields indicated in the EventType's org.zalando.kanadi.api.EventType.partitionKeyFields, guaranteeing that Events with same values on those fields end in the same partition. Given the event type's category is DataChangeEvent, field path is considered relative to "data".

    flowId

    The flow id of the request, which is written into the logs and passed to called services. Helpful for operational troubleshooting and log analysis.

    returns

    Returns a list of all partitioning strategies known to Nakadi

    Definition Classes
    RegistryRegistryInterface
  18. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  19. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  20. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  21. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from RegistryInterface

Inherited from AnyRef

Inherited from Any

Ungrouped