influxdb/docker
Marco Neumann b5428e53a5 refactor: write buffer testing + better mocking
This refactors the write buffer a bit for:

- **Testing:** Add generic tests for the Kafka and the mocking
  implementation. The same interface can be used easily add new
  implementations (e.g. via Redis, filesystem, ...).
- **Partition on Write:** The caller of the writer operation must now
  specify the partition/sequencer ID. The implicit partitioning of the
  Kafka writer would have lead to broken data since we must never spill
  entries w/ the same primary key over multiple partitions. At the
  moment we will only use partition 0 but we can easily implement
  better logic in the future.
- **Improved Mocking:** The mocked implementation now simulates a system
  that feels more real. Especially the handling around multiple streams
  and "write while read" has been improved. This will be helpful for
  testing and for new features like seeking (during replay). A solid
  realistic mock also helps us to ensure that the tests using the mock
  do not rely on unrealistic behavior too much.
2021-07-15 17:20:45 +02:00
..
Dockerfile.ci chore: Switch to rust-toolchain.toml to specify Rust components we need as well 2021-06-23 15:28:58 -04:00
Dockerfile.ci.dockerignore feat(docker): add one-command Dockerfile 2021-03-01 15:45:27 -08:00
Dockerfile.ci.integration refactor: write buffer testing + better mocking 2021-07-15 17:20:45 +02:00
Dockerfile.ci.integration.dockerignore chore: Add a dockerignore file to not send the target directory 2021-06-21 09:41:36 -04:00
Dockerfile.iox fix: Log sha256sum before running docker build (#1309) 2021-04-27 07:34:36 +00:00
Dockerfile.iox.dockerignore feat(docker): add one-command Dockerfile 2021-03-01 15:45:27 -08:00
ci-kafka-docker-compose.yml chore: Run kafka integration tests using docker-compose 2021-06-21 09:36:35 -04:00
integration_test.sh refactor: write buffer testing + better mocking 2021-07-15 17:20:45 +02:00