Skip to content

Commit

Permalink
[proxima-direct-io-kafka] improve logging of invalid attributes in ka…
Browse files Browse the repository at this point in the history
…fka topics
  • Loading branch information
je-ik committed Oct 23, 2023
1 parent 3bb1458 commit 13f6eba
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@ public StreamElement read(ConsumerRecord<String, byte[]> record, EntityDescripto
Optional<AttributeDescriptor<Object>> attr =
entityDesc.findAttribute(attribute, true /* allow reading protected */);
if (!attr.isPresent()) {
log.error("Invalid attribute {} in kafka key {}", attribute, key);
log.error(
"Invalid attribute {} in kafka key {} for entity {}", attribute, key, entityDesc);
} else {
@Nullable
final Header sequenceIdHeader =
Expand Down

0 comments on commit 13f6eba

Please sign in to comment.