final case class ExternalInlet(name: String, hasUniqueGroupId: Boolean = false, errorHandler: (Array[Byte], Throwable) => Option[Array[Byte]] = CodecInlet.logAndSkip[Array[Byte]](_: Array[Byte], _: Throwable)) extends CodecInlet[Array[Byte]] with Product with Serializable
- Alphabetic
- By Inheritance
- ExternalInlet
- Serializable
- Product
- Equals
- CodecInlet
- Inlet
- StreamletPort
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new ExternalInlet(name: String, hasUniqueGroupId: Boolean = false, errorHandler: (Array[Byte], Throwable) => Option[Array[Byte]] = CodecInlet.logAndSkip[Array[Byte]](_: Array[Byte], _: Throwable))
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
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- val codec: ByteArrayCodec.type
The codec is used to deserialize the data that is read from the inlet.
The codec is used to deserialize the data that is read from the inlet.
- Definition Classes
- ExternalInlet → CodecInlet
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val errorHandler: (Array[Byte], Throwable) => Option[Array[Byte]]
handle marshalling errors
handle marshalling errors
- Definition Classes
- ExternalInlet → CodecInlet
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- val hasUniqueGroupId: Boolean
Returns true when this inlet has a unique group Id, so that the inlet will receive data from all partitions.
Returns true when this inlet has a unique group Id, so that the inlet will receive data from all partitions. This is useful for when you scale a streamlet, and you want all the streamlet instances to receive all the data. If no unique group Id is set (which is the default), streamlet instances will each receive part of the data (on this inlet).
- Definition Classes
- ExternalInlet → CodecInlet
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val name: String
- Definition Classes
- ExternalInlet → StreamletPort
- 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()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def schemaAsString: String
Describes the schema used to deserialize the data.
Describes the schema used to deserialize the data.
- Definition Classes
- ExternalInlet → CodecInlet
- def schemaDefinition: SchemaDefinition
- Definition Classes
- ExternalInlet → StreamletPort
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- def withErrorHandler(handler: (Array[Byte], Throwable) => Option[Array[Byte]]): ExternalInlet
Sets a value for error handler for potential data unmarshalling errors If no error handler is specified, defaults to logging error and skipping record.
Sets a value for error handler for potential data unmarshalling errors If no error handler is specified, defaults to logging error and skipping record.
- Definition Classes
- ExternalInlet → CodecInlet
- def withUniqueGroupId: ExternalInlet
Sets a unique group Id so that the inlet will receive data from all partitions.
Sets a unique group Id so that the inlet will receive data from all partitions. This is useful for when you scale a streamlet, and you want all the streamlet instances to receive all the data. If no unique group Id is set (which is the default), streamlet instances will each receive part of the data (on this inlet).
- Definition Classes
- ExternalInlet → CodecInlet