chaos-mesh / chaosd

A Chaos Engineering toolkit.
Apache License 2.0
136 stars 63 forks source link

kafka io attack: add username and password flags #231

Closed cwen0 closed 1 year ago

cwen0 commented 1 year ago

Signed-off-by: cwen0 cwenyin0@gmail.com

add username and password flags to fix this image

Chaosd will access Kafka server to get partitions when to exec io attack. So username, password, host, and port should be supported. https://github.com/chaos-mesh/chaosd/blob/a9c05406d24511bc692253508950aa93fb9d0394/pkg/server/chaosd/kafka.go#L385-L387

ti-chi-bot commented 1 year ago

[REVIEW NOTIFICATION]

This pull request has been approved by:

To complete the pull request process, please ask the reviewers in the list to review by filling /cc @reviewer in the comment. After your PR has acquired the required number of LGTMs, you can assign this pull request to the committer in the list by filling /assign @committer in the comment to help you merge this pull request.

The full list of commands accepted by this bot can be found here.

Reviewer can indicate their review by submitting an approval review. Reviewer can cancel approval by submitting a request changes review.
cwen0 commented 1 year ago

/merge

ti-chi-bot commented 1 year ago

This pull request has been accepted and is ready to merge.

Commit hash: 9bcf11deefcb4b913ebb4385afd340ec89eb7d25