Skip to content

Commit

Permalink
Refactor instrumentation
Browse files Browse the repository at this point in the history
  • Loading branch information
labianchin committed Jul 8, 2019
1 parent e3c70c0 commit bdeec3b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ public void write(String query) throws Exception {
final long startMs = metering.startWriteMeter();
convertAllResultSet(resultSet, JdbcAvroRecordConverter.create(resultSet));
queue.put(ByteBuffer.allocate(0)); // write final record, so that consumer stops
final long startMs2 = metering.startWriteMeter();
final long startMs2 = System.currentTimeMillis();
future.get();
executorService.shutdown();
LOGGER.info(String.format("jdbcavroio : Waited %5.2f seconds for finishing write operation",
Expand Down

0 comments on commit bdeec3b

Please sign in to comment.