Skip to content

Commit

Permalink
removed logging from different writer providers
Browse files Browse the repository at this point in the history
  • Loading branch information
Akash Borkar committed Nov 28, 2022
1 parent a2bb25e commit 16926bd
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ public void write(SinkRecord record) {
}
}

log.trace("Sink record: {}", record);
Object value = avroData.fromConnectData(schema, record.value());
try {
// AvroData wraps primitive types so their schema can be included. We need to unwrap
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ public RecordWriter getRecordWriter(final HdfsSinkConnectorConfig conf, final St

@Override
public void write(SinkRecord record) {
log.trace("Sink record: {}", record.toString());
try {
Object value = record.value();
if (value instanceof Struct) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,6 @@ public void write(SinkRecord record) {
}
}

log.trace("Sink record: {}", record);
Object value = avroData.fromConnectData(record.valueSchema(), record.value());
try {
writer.write((GenericRecord) value);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ public RecordWriter getRecordWriter(final HdfsSinkConnectorConfig conf, final St

@Override
public void write(SinkRecord record) {
log.trace("Sink record: {}", record.toString());
try {
String value = (String) record.value();
writer.write(value);
Expand Down

0 comments on commit 16926bd

Please sign in to comment.