KafkaSettings class
Provides information that describes an Apache Kafka endpoint. This information includes the output format of records applied to the endpoint and details of transaction and control table data information.
Constructors
- KafkaSettings({String? broker, bool? includeControlDetails, bool? includeNullAndEmpty, bool? includePartitionValue, bool? includeTableAlterOperations, bool? includeTransactionDetails, MessageFormatValue? messageFormat, int? messageMaxBytes, bool? partitionIncludeSchemaTable, String? topic})
-
KafkaSettings.fromJson(Map<
String, dynamic> json) -
factory
Properties
- broker → String?
-
The broker location and port of the Kafka broker that hosts your Kafka
instance. Specify the broker in the form
broker-hostname-or-ip:port
. For example,"ec2-12-345-678-901.compute-1.amazonaws.com:2345"
.final - hashCode → int
-
The hash code for this object.
no setterinherited
- includeControlDetails → bool?
-
Shows detailed control information for table definition, column definition,
and table and column changes in the Kafka message output. The default is
false
.final - includeNullAndEmpty → bool?
-
Include NULL and empty columns for records migrated to the endpoint. The
default is
false
.final - includePartitionValue → bool?
-
Shows the partition value within the Kafka message output, unless the
partition type is
schema-table-type
. The default isfalse
.final - includeTableAlterOperations → bool?
-
Includes any data definition language (DDL) operations that change the table
in the control data, such as
rename-table
,drop-table
,add-column
,drop-column
, andrename-column
. The default isfalse
.final - includeTransactionDetails → bool?
-
Provides detailed transaction information from the source database. This
information includes a commit timestamp, a log position, and values for
transaction_id
, previoustransaction_id
, andtransaction_record_id
(the record offset within a transaction). The default isfalse
.final - messageFormat → MessageFormatValue?
-
The output format for the records created on the endpoint. The message
format is
JSON
(default) orJSON_UNFORMATTED
(a single line with no tab).final - messageMaxBytes → int?
-
The maximum size in bytes for records created on the endpoint The default is
1,000,000.
final
- partitionIncludeSchemaTable → bool?
-
Prefixes schema and table names to partition values, when the partition type
is
primary-key-type
. Doing this increases data distribution among Kafka partitions. For example, suppose that a SysBench schema has thousands of tables and each table has only limited range for a primary key. In this case, the same primary key is sent from thousands of tables to the same partition, which causes throttling. The default isfalse
.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- topic → String?
-
The topic to which you migrate the data. If you don't specify a topic, AWS
DMS specifies
"kafka-default-topic"
as the migration topic.final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited