case class Registry(baseUri: URI, oAuth2TokenProvider: Option[OAuth2TokenProvider] = None)(implicit kanadiHttpConfig: HttpConfig, http: HttpExt, materializer: Materializer) extends Product with Serializable
- Alphabetic
- By Inheritance
- Registry
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new Registry(baseUri: URI, oAuth2TokenProvider: Option[OAuth2TokenProvider] = None)(implicit kanadiHttpConfig: HttpConfig, http: HttpExt, materializer: Materializer)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- val baseUri: URI
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
enrichmentStrategies(implicit flowId: FlowId = randomFlowId(), executionContext: ExecutionContext): Future[List[String]]
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
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
val
logger: LoggerTakingImplicit[FlowId]
- Attributes
- protected
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val oAuth2TokenProvider: Option[OAuth2TokenProvider]
-
def
partitionStrategies(implicit flowId: FlowId = randomFlowId(), executionContext: ExecutionContext): Future[List[PartitionStrategy]]
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
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )