Skip to content

Commit

Permalink
sink(ticdc): add compression for avro test (#6974)
Browse files Browse the repository at this point in the history
ref #5928
  • Loading branch information
hi-rustin committed Sep 6, 2022
1 parent eeea2d0 commit 6f9c00d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ func (t *dummyTask) GetCDCProfile() *framework.CDCProfile {
return &framework.CDCProfile{
PDUri: framework.UpstreamPD,
SinkURI: "kafka://kafka:9092/testdb_test?protocol=avro" +
"&avro-bigint-unsigned-handling-mode=string",
"&avro-bigint-unsigned-handling-mode=string&compression=gzip",
SchemaRegistry: "http://schema-registry:8081",
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ func (a *SingleTableTask) GetCDCProfile() *framework.CDCProfile {
return &framework.CDCProfile{
PDUri: framework.UpstreamPD,
SinkURI: "kafka://kafka:9092/testdb_" + a.TableName +
"?kafka-version=2.6.0&protocol=avro&avro-bigint-unsigned-handling-mode=string",
"?kafka-version=2.6.0&protocol=avro&avro-bigint-unsigned-handling-mode=string&compression=gzip",
SchemaRegistry: "http://schema-registry:8081",
}
}
Expand Down

0 comments on commit 6f9c00d

Please sign in to comment.