ashwinpankaj commented on code in PR #14782:
URL: https://github.com/apache/kafka/pull/14782#discussion_r1441389074
##########
connect/runtime/src/main/java/org/apache/kafka/connect/util/KafkaBasedLog.java:
##########
@@ -234,7 +233,7 @@ public void start() {
throw new ConnectException(
"Must provide a TopicAdmin to KafkaBasedLog when consumer
is configured with "
+ ConsumerConfig.ISOLATION_LEVEL_CONFIG + " set to
"
- +
IsolationLevel.READ_COMMITTED.name().toLowerCase(Locale.ROOT)
+ + IsolationLevel.READ_COMMITTED
Review Comment:
```suggestion
+ IsolationLevel.READ_COMMITTED.toString()
```
##########
connect/runtime/src/main/java/org/apache/kafka/connect/storage/KafkaOffsetBackingStore.java:
##########
@@ -248,7 +247,7 @@ public void start() {
+ "support for source connectors, or upgrade to a
newer Kafka broker version.";
} else {
message = "When " + ConsumerConfig.ISOLATION_LEVEL_CONFIG +
"is set to "
- +
IsolationLevel.READ_COMMITTED.name().toLowerCase(Locale.ROOT)
+ + IsolationLevel.READ_COMMITTED
Review Comment:
```suggestion
+ IsolationLevel.READ_COMMITTED.toString()
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]