Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • partitioner: logical correctness.
  • recordsend: functions work correctly (may need MockCallback).
  • bufferpool: logical correct under multi-thread, failure cases.
  • metadata: logical correct under multi-thread, failure cases.
  • recordaccumulator: functional correct for read/drain, etc; logical correct for append under multi-thread.
  • recordbatch: succeed/fail cases of functions (tryAppend, etc)
  • sender: processReadyPartitions function, handleXX functions, and close function correctness.

Integration Test

For integration tests we will categories the following modules, and for each module we will do integration tests for different scenarios (normal success cases, failure cases with different configs, etc)

admin

  • Topic tools
  • Partition reassignment
  • Leader election
  • Start/stop server and zookeeper

api

Producer:

  • Sync and async send
  • Send null key or null value
  • Send to one and multiple partitions
  • Failed send exception thrown and callback

Consumer:

  • Offset reset
  • Commit and fetch offset
  • Pool with/wo timeout
  • Callback functions
  • Rebalance

config

  • Invalid values

end2end

  • New-topic auto creation
  • Compression
  • Replication with/wo broker failure/shutdown
    • Replica consistency
    • Producer recordsend behavior
    • Consumer Coordinator migration
    • ISR correctness
    • Guarantee with ack property
  • Producer message size
  • Consumer fetch size
  • Server (re)startup
    • Log recovery and cleaning
    • Consumer Coordinator migration

logging

  • String encoder
  • Appender property

util