Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
jiangmichaellll committed Apr 2, 2021
1 parent 2c3a87d commit 165ee80
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -39,7 +39,7 @@ public PslDataWriterFactory(StructType inputSchema, PslWriteDataSourceOptions wr

@Override
public DataWriter<InternalRow> createDataWriter(int partitionId, long taskId, long epochId) {
PublisherFactory pg = () -> CACHED_PUBLISHERS.getOrCreate(writeOptions);
return new PslDataWriter(partitionId, taskId, epochId, inputSchema, pg);
PublisherFactory pf = () -> CACHED_PUBLISHERS.getOrCreate(writeOptions);
return new PslDataWriter(partitionId, taskId, epochId, inputSchema, pf);
}
}

0 comments on commit 165ee80

Please sign in to comment.