chaosblade-io / chaosblade

An easy to use and powerful chaos engineering experiment toolkit.(阿里巴巴开源的一款简单易用、功能强大的混沌实验注入工具)
https://chaosblade.io
Apache License 2.0
5.86k stars 935 forks source link

delay kafka producer will loss msg #821

Open HappyCodingMouse opened 1 year ago

HappyCodingMouse commented 1 year ago

Issue Description

Type: bug report

How to reproduce it (as minimally and precisely as possible)

  1. create java web application to produce 1 kafka message per second
  2. create kafka 10s delay with chaosblade which deploy on the virtual machine same as java web application
  3. start kafka consumer to consume the message

Result

before create delay, consumer comsume 1msg /second , after create delay , comsume 1msg second per 10 seconds, comsumer can't consumer the other 9 msg. delay take effect but some msg loss

Describe what happened (or what feature you want)

Describe what you expected to happen

consumer can comsume all msg, 1msg /second , consumer the msg which is produced 10s berfore

Tell us your environment

chaosblade 1.3.0 or 1.6.1 java 8 kafka client 0.10.2.1

Anything else we need to know?

ramgiteng commented 2 weeks ago

Hi, may I know on what process did you inject the chaos? Producer or Consumer or Server?