Skip to content

Commit

Permalink
fix offset settings for kafka
Browse files Browse the repository at this point in the history
  • Loading branch information
firestar committed Jan 24, 2024
1 parent 0fb6c1f commit 161cef0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ plugins {
}

group = 'com.nucleodb'
version = '1.15.4'
version = '1.15.5'

repositories {
mavenCentral()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,19 +22,15 @@ public KafkaSettings(Map<String, Object> objs) {
if(objs.containsKey("groupName")) {
this.groupName = (String) objs.get("groupName");
}

if(objs.containsKey("partitions")) {
this.partitions = (int) objs.get("partitions");
}
if(objs.containsKey("replicas")) {
this.replicas = (int) objs.get("replicas");
}

if(objs.containsKey("offsetReset")) {
this.replicas = (int) objs.get("offsetReset");
this.offsetReset = (String) objs.get("offsetReset");
}


}

public String getGroupName() {
Expand Down

0 comments on commit 161cef0

Please sign in to comment.