Skip to content

Commit

Permalink
Merge pull request #17 from vinted/chore/change-flush-log-level
Browse files Browse the repository at this point in the history
chore: change flush log level to debug
  • Loading branch information
gintarasm authored Feb 8, 2024
2 parents 32df104 + 0afefe5 commit f562e73
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -96,10 +96,10 @@ public void close() {

@Override
public void flush(boolean endOfInput) {
logger.info("Flushing BigQuery writer {} data. Inflight request count {}", this.sinkInitContext.getSubtaskId(), inflightRequestCount.getRegisteredParties());
logger.debug("Flushing BigQuery writer {} data. Inflight request count {}", this.sinkInitContext.getSubtaskId(), inflightRequestCount.getRegisteredParties());
checkAsyncException();
inflightRequestCount.arriveAndAwaitAdvance();
logger.info("BigQuery writer {} data flushed. Inflight request count {}", this.sinkInitContext.getSubtaskId(), inflightRequestCount.getRegisteredParties());
logger.debug("BigQuery writer {} data flushed. Inflight request count {}", this.sinkInitContext.getSubtaskId(), inflightRequestCount.getRegisteredParties());
}

static class AppendCallBack<A> implements ApiFutureCallback<AppendRowsResponse> {
Expand Down

0 comments on commit f562e73

Please sign in to comment.