}
else
{
- log.info("Offset commits are disabled! Last commit: {}", lastCommit);
+ log.info("{} - Offset commits are disabled! Last commit: {}", id, lastCommit);
}
});
}
{
if (!commitsEnabled)
{
- log.info("Offset commits are disabled! Last commit: {}", lastCommit);
+ log.info("{} - Offset commits are disabled! Last commit: {}", id, lastCommit);
return;
}
if (lastCommit.plus(commitInterval).isBefore(clock.instant()))
{
- log.debug("Storing data and offsets, last commit: {}", lastCommit);
+ log.debug("{} - Storing data and offsets, last commit: {}", id, lastCommit);
partitions.forEach(partition -> stateRepository.save(
new StateDocument(
partition,