Skip to content

Commit

Permalink
GH-2153: Remove ConsumerProp.onlyLogRecordMetadata
Browse files Browse the repository at this point in the history
  • Loading branch information
garyrussell committed Mar 15, 2022
1 parent ca9d100 commit d983f0b
Showing 1 changed file with 0 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,6 @@ public class ConsumerProperties {

private LogIfLevelEnabled.Level commitLogLevel = LogIfLevelEnabled.Level.DEBUG;

private boolean onlyLogRecordMetadata = true;

private Properties kafkaConsumerProperties = new Properties();

private Duration authExceptionRetryInterval;
Expand Down Expand Up @@ -402,20 +400,6 @@ public void setCommitRetries(int commitRetries) {
this.commitRetries = commitRetries;
}

public boolean isOnlyLogRecordMetadata() {
return this.onlyLogRecordMetadata;
}

/**
* Set to false to log {@code record.toString()} in log messages instead
* of {@code topic-partition@offset}.
* @param onlyLogRecordMetadata false to log the entire record.
* @since 2.2.14
*/
public void setOnlyLogRecordMetadata(boolean onlyLogRecordMetadata) {
this.onlyLogRecordMetadata = onlyLogRecordMetadata;
}

/**
* Whether or not to correct terminal transactional offsets.
* @return true to fix.
Expand Down

0 comments on commit d983f0b

Please sign in to comment.