arextest / arextest/arex-agent-java

请问想流量回放kafka消费逻辑,有没有什么办法

Open
#305 1 comment 0 reactions 0 assignees View on GitHub
enhancement :star: good first issue :+1:
Dominant language
Java
Stars
564
Forks
140
Avg merge
36m
Merged PRs (30d)
2

Description

项目主要业务逻辑都在各个kafka的topic消费逻辑代码中,因此想对这部分内容进行流量回放验证。kafka消费代码如下图所示:
![image](https://github.com/arextest/arex-agent-java/assets/19317402/c68e25c2-e0be-4988-9c69-3b05f5928851)
依赖包spring-kafka-2.5.7.REALEASE

此外想问一下目前是否支持子调用中发送kafka消息的mock,期望回放时验证子调用入参。
![image](https://github.com/arextest/arex-agent-java/assets/19317402/b9eacef9-d26c-4b7f-832c-faef7d729033)

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue provides screenshots of Kafka consumer code and names the spring-kafka-2.5.7.REALEASE dependency, but no files or tests. Start by locating the shown consumer logic and reviewing how traffic replay currently handles Kafka. Clarify whether replaying consumed traffic and mocking Kafka messages sent by child calls are separate requirements; done should be defined by concrete supported behavior and validation cases.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, kafka
Domain
stream-processing, testing
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.