Documentation ¶
Index ¶
- Constants
- func EnrichedWithDefaults(params map[string]string) map[string]string
- func GetBatchingMaxSize(in map[string]string) int
- func GetDBName(in map[string]string) string
- func GetDTAddOriginalTypeInfo(in map[string]string) string
- func GetDecimalHandlingMode(in map[string]string) string
- func GetKeyConverter(in map[string]string) string
- func GetKeyConverterSchemaRegistryURL(in map[string]string) string
- func GetKeyConverterSchemaRegistryUserPassword(in map[string]string) string
- func GetKeyConverterSchemasEnable(in map[string]string) string
- func GetKeyConverterSslCa(in map[string]string) string
- func GetKeySubjectNameStrategy(in map[string]string) string
- func GetMysqlTimeZone(in map[string]string) string
- func GetSourceType(in map[string]string) string
- func GetTombstonesOnDelete(in map[string]string) string
- func GetTopicPrefix(in map[string]string) string
- func GetValueConverter(in map[string]string) string
- func GetValueConverterSchemaRegistryURL(in map[string]string) string
- func GetValueConverterSchemaRegistryUserPassword(in map[string]string) string
- func GetValueConverterSchemasEnable(in map[string]string) string
- func GetValueConverterSslCa(in map[string]string) string
- func GetValueSubjectNameStrategy(in map[string]string) string
- func IsKeySchemaDisabled(in map[string]string) bool
- func IsValueSchemaDisabled(in map[string]string) bool
- func UseWriteIntoOneFullTopicName(in map[string]string) bool
Constants ¶
View Source
const ( DatabaseDBName = "database.dbname" // "db" in debezium payload - it's just field in "source". Present in pg-connector, absent in mysql-connector TopicPrefix = "topic.prefix" // "name" in debezium payload - it's prefix for topic_name & it's field "name" in "source" (used to be called "db.server.name", but was renamed) UnknownTypesPolicy = "dt.unknown.types.policy" // by default, debezium skips user-defined types. We are failing by default in this case, but can just skip AddOriginalTypes = "dt.add.original.type.info" SourceType = "dt.source.type" // common/mysql/pg - to emit database-specific fields in 'source' MysqlTimeZone = "dt.mysql.timezone" BatchingMaxSize = "dt.batching.max.size" WriteIntoOneFullTopicName = "dt.write.into.one.topic" TimePrecisionMode = "time.precision.mode" DecimalHandlingMode = "decimal.handling.mode" HstoreHandlingMode = "hstore.handling.mode" IntervalHandlingMode = "interval.handling.mode" TombstonesOnDelete = "tombstones.on.delete" BinaryHandlingMode = "binary.handling.mode" MoneyFractionDigits = "money.fraction.digits" KeyConverter = "key.converter" KeyConverterSchemasEnable = "key.converter.schemas.enable" KeyConverterSchemaRegistryURL = "key.converter.schema.registry.url" KeyConverterBasicAuthCredentialsSource = "key.converter.basic.auth.credentials.source" KeyConverterBasicAuthUserInfo = "key.converter.basic.auth.user.info" KeyConverterSslCa = "key.converter.ssl.ca" ValueConverter = "value.converter" ValueConverterSchemasEnable = "value.converter.schemas.enable" ValueConverterSchemaRegistryURL = "value.converter.schema.registry.url" ValueConverterBasicAuthCredentialsSource = "value.converter.basic.auth.credentials.source" ValueConverterBasicAuthUserInfo = "value.converter.basic.auth.user.info" ValueConverterSslCa = "value.converter.ssl.ca" KeySubjectNameStrategy = "key.converter.key.subject.name.strategy" ValueSubjectNameStrategy = "value.converter.value.subject.name.strategy" BoolTrue = "true" BoolFalse = "false" UnknownTypesPolicyFail = "fail" UnknownTypesPolicySkip = "skip" UnknownTypesPolicyToString = "to_string" SourceTypePg = "pg" SourceTypeMysql = "mysql" SourceTypeYDB = "ydb" MysqlTimeZoneUTC = "UTC" TimePrecisionModeAdaptive = "adaptive" TimePrecisionModeAdaptiveTimeMicroseconds = "adaptive_time_microseconds" TimePrecisionModeConnect = "connect" DecimalHandlingModePrecise = "precise" DecimalHandlingModeDouble = "double" DecimalHandlingModeString = "string" HstoreHandlingModeMap = "map" HstoreHandlingModeJSON = "json" IntervalHandlingModeNumeric = "numeric" IntervalHandlingModeString = "string" BinaryHandlingModeBytes = "bytes" BinaryHandlingModeBase64 = "base64" BinaryHandlingModeHex = "hex" ConverterApacheKafkaJSON = "org.apache.kafka.connect.json.JsonConverter" ConverterConfluentJSON = "io.confluent.connect.json.JsonSchemaConverter" SubjectTopicNameStrategy = "io.confluent.kafka.serializers.subject.TopicNameStrategy" SubjectRecordNameStrategy = "io.confluent.kafka.serializers.subject.RecordNameStrategy" SubjectTopicRecordNameStrategy = "io.confluent.kafka.serializers.subject.TopicRecordNameStrategy" )
Variables ¶
This section is empty.
Functions ¶
func EnrichedWithDefaults ¶
EnrichedWithDefaults returns copy of provided params default values for parameters that are not set in the input and returns its copy.
func GetBatchingMaxSize ¶
func GetDecimalHandlingMode ¶
func GetKeyConverter ¶
func GetKeyConverterSslCa ¶
func GetMysqlTimeZone ¶
func GetSourceType ¶
func GetTombstonesOnDelete ¶
func GetTopicPrefix ¶
func GetValueConverter ¶
func GetValueConverterSslCa ¶
func IsKeySchemaDisabled ¶
func IsValueSchemaDisabled ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.