Github user joshelser commented on a diff in the pull request:

    https://github.com/apache/incubator-ratis/pull/4#discussion_r214447351
  
    --- Diff: 
ratis-logservice/src/main/java/org/apache/ratis/logservice/api/RecordListener.java
 ---
    @@ -0,0 +1,18 @@
    +package org.apache.ratis.logservice.api;
    +
    +import java.nio.ByteBuffer;
    +
    +/**
    + * Interface that, when registered with a {@link LogStream}, will receive 
all records written
    + * to that LogStream until it is removed.
    + */
    +public interface RecordListener {
    --- End diff --
    
    Good point. Given what we know now, I don't think we have more complex 
requirements. Switching this over to a consumer is a good idea, I think.


---

Reply via email to