1. 20 11月, 2019 1 次提交
    • J
      expose getLastMessageId method in ConsumerImpl (#4911) · d4e953fb
      Jia Zhai 提交于
      Fixes #4909
      ### Motivation
      
      It would be good to expose method `getLastMessageId` in `ConsumerImpl` to a public method. 
      eg. some times user would like to know the lag messages; or only consume messages before current time.
      
      ### Modifications
      
      - expose method `getLastMessageId` in consumer api.
      - add unit test.
      
      ### Verifying this change
      Ut passed
      
      (cherry picked from commit 93d95c74)
      d4e953fb
  2. 19 11月, 2019 1 次提交
    • V
      Test cleanup and simplification (#4799) · f17ada4d
      vzhikserg 提交于
      * Simplified assert statements in the tests. Switch to usage of static imports in tests. (Part 1)
      
      * Simplify assert statements in the tests and use the appropriate assert statements. Switch to usage of static imports in tests. Remove unused imports (Part 2)
      
      (cherry picked from commit fb6895db)
      f17ada4d
  3. 28 8月, 2018 1 次提交
  4. 19 6月, 2018 1 次提交
  5. 05 3月, 2018 1 次提交
  6. 27 2月, 2018 1 次提交
    • I
      BatchMessageIdImpl can be compared to MessageIdImpl (#1285) · 4f1f02b9
      Ivan Kelly 提交于
      A batch message id is a MessageIdImpl with a batchIndex >=
      0. Therefore, they can be compared to MessageIdImpl. If all fields
      other than the batchIndex are equal to a messageId, the
      BatchMessageIdImpl can compare its batchIndex with -1. If it is -1, it
      matches the MessageIdImpl. If it is greater than -1, then it is
      greater than the MessageIdImpl.
      4f1f02b9
  7. 18 1月, 2018 1 次提交