Skip to content

Commit

Permalink
Merge branch 'fixed-create-compaction-topic' of github.com:sunxiaojia…
Browse files Browse the repository at this point in the history
…n/rocketmq-connect into fixed-create-compaction-topic
  • Loading branch information
sunxiaojian committed Mar 7, 2023
2 parents cc040b2 + 80b4d74 commit f697554
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1098,7 +1098,7 @@ public org.apache.avro.Schema fromConnectSchema(Schema schema,
.enumeration(schema.getParameters().get(AVRO_TYPE_ENUM))
.doc(enumDoc)
.defaultSymbol(enumDefault)
.symbols(symbols.toArray(new String[symbols.size()]));
.symbols(symbols.toArray(new String[0]));
} else {
// common string
baseSchema = org.apache.avro.SchemaBuilder.builder().stringType();
Expand Down

0 comments on commit f697554

Please sign in to comment.