chore: upgrade netflow_parser to 1.0.0 and flowparser-sflow to 0.3.0 #3059

Merged
mikemiles-dev merged 1 commit from refs/pull/3059/head into staging 2026-03-16 03:36:15 +00:00
mikemiles-dev commented 2026-03-16 03:33:38 +00:00 (Migrated from github.com)
Owner

Imported from GitHub pull request.

Original GitHub pull request: #3050
Original author: @mikemiles-dev
Original URL: https://github.com/carverauto/serviceradar/pull/3050
Original created: 2026-03-16T03:33:38Z
Original updated: 2026-03-16T03:36:15Z
Original head: mikemiles-dev/serviceradar:chore/upgrade-flow-parser-deps
Original base: staging
Original merged: 2026-03-16T03:36:15Z by @mfreeman451

Update flow-collector dependencies and fix breaking API changes:

  • Module paths renamed (data_number → field_value, ipfix_lookup → ipfix::lookup)
  • FieldValue::MacAddr now holds [u8; 6] instead of string
  • FieldValue::Duration now wraps DurationValue
  • Template event callback returns Result
  • PendingFlowsConfig is non-exhaustive, use constructors
  • AutoScopedParser::with_builder → try_with_builder
  • iter_packets_from_source returns Result
  • Handle non-exhaustive NetflowPacket and SflowSample enums

IMPORTANT: Please sign the Developer Certificate of Origin

Thank you for your contribution to ServiceRadar. Please note, when contributing, the developer must include
a DCO sign-off statement indicating the DCO acceptance in one commit message. Here
is an example DCO Signed-off-by line in a commit message:

Signed-off-by: J. Doe <j.doe@domain.com>

Describe your changes

Code checklist before requesting a review

  • I have signed the DCO?
  • The build completes without errors?
  • All tests are passing when running make test?
Imported from GitHub pull request. Original GitHub pull request: #3050 Original author: @mikemiles-dev Original URL: https://github.com/carverauto/serviceradar/pull/3050 Original created: 2026-03-16T03:33:38Z Original updated: 2026-03-16T03:36:15Z Original head: mikemiles-dev/serviceradar:chore/upgrade-flow-parser-deps Original base: staging Original merged: 2026-03-16T03:36:15Z by @mfreeman451 --- Update flow-collector dependencies and fix breaking API changes: - Module paths renamed (data_number → field_value, ipfix_lookup → ipfix::lookup) - FieldValue::MacAddr now holds [u8; 6] instead of string - FieldValue::Duration now wraps DurationValue - Template event callback returns Result - PendingFlowsConfig is non-exhaustive, use constructors - AutoScopedParser::with_builder → try_with_builder - iter_packets_from_source returns Result - Handle non-exhaustive NetflowPacket and SflowSample enums ## IMPORTANT: Please sign the Developer Certificate of Origin Thank you for your contribution to ServiceRadar. Please note, when contributing, the developer must include a [DCO sign-off statement]( https://developercertificate.org/) indicating the DCO acceptance in one commit message. Here is an example DCO Signed-off-by line in a commit message: ``` Signed-off-by: J. Doe <j.doe@domain.com> ``` ## Describe your changes ## Issue ticket number and link ## Code checklist before requesting a review - [ ] I have signed the DCO? - [ ] The build completes without errors? - [ ] All tests are passing when running make test?
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
carverauto/serviceradar!3059
No description provided.