object KafkaTopologyUtils extends Logging
- Alphabetic
- By Inheritance
- KafkaTopologyUtils
- Logging
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
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 changeIdForDeletes(oai_key: String): String
Change the id, tranform it from oai id to solr id
Change the id, tranform it from oai id to solr id
- oai_key
the id key from oai (for example (ZBCMI)oai:ZBcollections:dbeb348e8cb446a8a341cd49f35c03da )
- returns
the solr id (for example ZBCdbeb348e8cb446a8a341cd49f35c03da)
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def filterRecords(identifier: String): Boolean
Check if a record is a non Marc Record For the moment we check the kafka message key and if it doesn't contain oai:alma.41SLSP then this is a non-marc record
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def getMapper(kafka_message_key: String): Mapper
Get the corresponding mapper based on kafka messasge key The kafka message key has a prefix which is based on the name of the config file in the data ingester https://gitlab.switch.ch/swissbib/classic/dataingestion/-/tree/master/configs/oai
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def isDelete(record: String): Boolean
Check if a message is a delete based on the header status
Check if a message is a delete based on the header status
- returns
true/false
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val logger: Logger
- Attributes
- protected
- Definition Classes
- Logging
- def mapToMarc21(key: String, record: String): String
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- def recordSplitter(kafka_message_key: String, record: String): Seq[(String, String)]
- 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(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)