Skip to content

Commit

Permalink
修复采集器在log4j不能心跳自启的bug
Browse files Browse the repository at this point in the history
  • Loading branch information
JThink committed Nov 21, 2017
1 parent 098043a commit d00df5d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ allprojects {
apply plugin: 'eclipse'

group = 'skyeye'
version = '1.2.1'
version = '1.2.2'

sourceCompatibility = 1.8
targetCompatibility = 1.8
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ public void onCompletion(RecordMetadata recordMetadata, Exception e) {
if (flag.get() == true) {
KafkaAppender.this.heartbeatStart();
zkRegister.write(Constants.SLASH + app + Constants.SLASH + host, NodeMode.EPHEMERAL,
String.valueOf(Constants.APP_APPENDER_RESTART_KEY + Constants.SEMICOLON + System.currentTimeMillis()) + Constants.SEMICOLON + SysUtil.userDir);
String.valueOf(Constants.APP_APPENDER_STOP_KEY + Constants.SEMICOLON + System.currentTimeMillis()) + Constants.SEMICOLON + SysUtil.userDir);
flag.compareAndSet(true, false);
}
}
Expand Down

0 comments on commit d00df5d

Please sign in to comment.