Skip to content

Conversation

@Arunodoy18
Copy link

Fixes #13912
Adds validation to reject configuration files with duplicate component IDs in extensions, receivers, and exporters lists.

Changes:
Added duplicate validation for pipeline receivers and exporters in service/pipelines/config.go

  • Added Validate() method to service/extensions/Config to check for duplicate extensions
  • Added comprehensive test coverage for all three duplicate scenarios

Testing:
All new tests pass

  • Existing tests remain passing
  • Validates the exact error scenarios described in the issue

@Arunodoy18 Arunodoy18 requested review from a team, bogdandrutu and dmitryax as code owners January 17, 2026 19:09
@Arunodoy18 Arunodoy18 force-pushed the fix/duplicate-component-ids branch 2 times, most recently from 6b4ed90 to 7f89d7c Compare January 19, 2026 11:45
@dmathieu
Copy link
Member

Same as all your other PRs. Please only include the commits relevant for your PR.

@Arunodoy18 Arunodoy18 force-pushed the fix/duplicate-component-ids branch from 7f89d7c to 5957191 Compare January 19, 2026 13:38
@Arunodoy18 Arunodoy18 force-pushed the fix/duplicate-component-ids branch from 5957191 to 17d24a9 Compare January 19, 2026 14:16
@Arunodoy18
Copy link
Author

Hi @dmathieu — thanks for the review.

I’ve cleaned up the branch and force-pushed.
The PR now contains only the commits related to duplicate component ID validation.

All unrelated changes have been removed.

Please take another look 🙏

@dmathieu
Copy link
Member

If you look at the original issue, the requirement is to hide the fix behind a feature flag, as well as a warning. This does none.

Add configurable connection pool to OTLP gRPC exporter to address
throughput bottlenecks under high RTT and HTTP/2 stream limits.

- Add connection_pool.max_connections config field (default: 1)
- Implement round-robin load distribution across N connections
- Preserve all existing retry, queue, and timeout behavior
- Add comprehensive tests for pooling and validation

Changes:
- config.go: Add ConnectionPoolConfig struct with validation
- otlp.go: Support multiple connections with round-robin selection
- otlp_test.go: Add tests for pooling, round-robin, and validation

Backward compatible: defaults to single connection (current behavior)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Collector shouldn't accept configuration with duplicates in component id lists

2 participants