Skip to content

Remove unused Flink code pieces#190

Merged
zzylol merged 2 commits intomainfrom
189-remove-not-used-flink-code-pieces
Mar 11, 2026
Merged

Remove unused Flink code pieces#190
zzylol merged 2 commits intomainfrom
189-remove-not-used-flink-code-pieces

Conversation

@zzylol
Copy link
Copy Markdown
Contributor

@zzylol zzylol commented Mar 11, 2026

Summary

  • Remove StreamingEngine enum, --streaming-engine CLI arg, and streaming_engine field from KafkaConsumerConfig — no longer needed now that only Arroyo is supported
  • Remove StreamingEngine::Flink match arm and all commented-out Flink JSON message handling from kafka.rs
  • Remove commented-out deserialize_from_json_flink method and simplify create_precompute_from_bytes (drop streaming_engine param, replace Flink/Arroyo conditionals with direct arroyo calls) in precomputed_output.rs
  • Delete commenting_out_flink_diff temp file and clean up residual Flink references in accumulator files

Test plan

  • cargo build passes (verified locally — no new warnings)
  • Existing tests pass

🤖 Generated with Claude Code

- Delete commenting_out_flink_diff temp file
- Remove StreamingEngine enum (Flink/Arroyo variants no longer needed)
- Remove --streaming-engine CLI arg from main.rs
- Remove streaming_engine field from KafkaConsumerConfig
- Remove StreamingEngine::Flink match arm and all commented-out Flink
  message handling from kafka.rs
- Remove deserialize_from_json_flink commented-out method from
  precomputed_output.rs
- Simplify create_precompute_from_bytes: remove streaming_engine param
  and replace all Flink/Arroyo conditionals with direct arroyo calls
- Clean up residual Flink references in accumulator files

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@zzylol zzylol linked an issue Mar 11, 2026 that may be closed by this pull request
Keep StreamingEngine enum and --streaming-engine CLI arg but with only
the Arroyo variant (Flink variant removed). Also fix cargo fmt issues.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@zzylol
Copy link
Copy Markdown
Contributor Author

zzylol commented Mar 11, 2026

@milindsrivastava1997 This PR looks simple and correct, just removing Flink part of the code. Can I merge it to the main?

@milindsrivastava1997
Copy link
Copy Markdown
Contributor

LGTM. Pls merge after CI passes.

@zzylol zzylol merged commit b5da069 into main Mar 11, 2026
4 checks passed
@zzylol zzylol deleted the 189-remove-not-used-flink-code-pieces branch March 11, 2026 22:21
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.

Remove not-used Flink code pieces

2 participants