Skip to content

Commit

Permalink
Kafka observability edits
Browse files Browse the repository at this point in the history
  • Loading branch information
mikera committed Oct 27, 2023
1 parent 709ffed commit 6628fc3
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions convex-observer/src/main/java/convex/observer/StrimziKafka.java
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,9 @@ public synchronized static StrimziKafka get(Server server) {
public StrimziKafka(Server server) {
super(server.getStore());
// TODO: need to be config params etc.
this.topic="test";
this.url="https://kfk.walledchannel.net:8010/topics/";
this.topic="transactions";
// this.url="https://kfk.walledchannel.net:9092/topics/";
this.url="https://kfk.walledchannel.net/topics/";
this.peerKey=server.getPeerKey().toString();
}

Expand Down Expand Up @@ -187,17 +188,17 @@ public void loop() throws InterruptedException {
httpasyncclient.execute(post, new FutureCallback<SimpleHttpResponse>() {
@Override
public void completed(SimpleHttpResponse result) {
//System.err.println(result);
// System.err.println(result);
}

@Override
public void failed(Exception ex) {
System.err.println(ex);
// System.err.println(ex);
}

@Override
public void cancelled() {
System.err.println("Observation Cancelled");
// System.err.println("Observation Cancelled");
};
});
}
Expand Down

0 comments on commit 6628fc3

Please sign in to comment.