Class E2ETuningHelper
java.lang.Object
ai.pipestream.module.pipelineprobe.e2e.E2ETuningHelper
Shared helper for pipeline-crawl graph building: applies per-run tuning
overrides to graph nodes.
- Kafka partition count on graph nodes (via
applyKafkaPartitions(GraphNode.Builder, int))
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionai.pipestream.config.v1.GraphNode.BuilderapplyKafkaPartitions(ai.pipestream.config.v1.GraphNode.Builder nodeBuilder, int kafkaPartitions) Applies the kafka partition count to a GraphNode builder if the partition override is positive.
-
Constructor Details
-
E2ETuningHelper
public E2ETuningHelper()Creates the tuning helper. Instances are managed by CDI.
-
-
Method Details
-
applyKafkaPartitions
public ai.pipestream.config.v1.GraphNode.Builder applyKafkaPartitions(ai.pipestream.config.v1.GraphNode.Builder nodeBuilder, int kafkaPartitions) Applies the kafka partition count to a GraphNode builder if the partition override is positive. Returns the same builder for chaining.- Parameters:
nodeBuilder- the graph node builder to tunekafkaPartitions- partition override; ignored when not positive- Returns:
- the same
nodeBuilderfor chaining
-