c
pl.touk.nussknacker.engine.schemedkafka.schemaregistry.confluent.schemaid
SchemaIdFromNuHeadersPotentiallyShiftingConfluentPayload
class SchemaIdFromNuHeadersPotentiallyShiftingConfluentPayload extends SchemaIdFromMessageExtractor
This class basically extract schema id from our specific headers: key/value.schemaId. Because we always produce those headers, we can have situation when schema id is in headers but also payload is in Confluent format (magic byte + schema id + bytes). Because of that we need to shift this payload so next step (payload deserializer) will have clear situation - buffer pointer pointing to bytes with message
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- SchemaIdFromNuHeadersPotentiallyShiftingConfluentPayload
- SchemaIdFromMessageExtractor
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new SchemaIdFromNuHeadersPotentiallyShiftingConfluentPayload(intSchemaId: Boolean, potentiallyShiftConfluentPayload: Boolean)
Type Members
- implicit class RichHeaders extends AnyRef
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( ... ) @native() @HotSpotIntrinsicCandidate()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
getSchemaId(args: GetSchemaIdArgs): Option[SchemaIdWithPositionedBuffer]
- Definition Classes
- SchemaIdFromNuHeadersPotentiallyShiftingConfluentPayload → SchemaIdFromMessageExtractor
-
final
def
getSchemaId(headers: Headers, data: Array[Byte], isKey: Boolean): Option[SchemaIdWithPositionedBuffer]
- Definition Classes
- SchemaIdFromMessageExtractor
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated @deprecated
- Deprecated
(Since version ) see corresponding Javadoc for more information.