PostgresSource

class PostgresSource(dbName: String, driver: PostgresDriver, slotName: String, indexer: PgIndexer, meterRegistry: MeterRegistry? = null) : ExternalSource

Constructors

Link copied to clipboard
constructor(dbName: String, driver: PostgresDriver, slotName: String, indexer: PgIndexer, meterRegistry: MeterRegistry? = null)

Types

Link copied to clipboard
@Serializable
@SerialName(value = "!Postgres")
data class Factory(val remote: RemoteAlias, val slotName: String, val publicationName: String, val indexer: PgIndexer.Factory) : ExternalSource.Factory

Functions

Link copied to clipboard
open override fun close()
Link copied to clipboard
open suspend override fun onPartitionAssigned(partition: Int, afterToken: ExternalSourceToken?, txIndexer: TxIndexer)