You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@pekko.apache.org by "He-Pin (via GitHub)" <gi...@apache.org> on 2026/05/31 19:24:54 UTC
[PR] chore(stream): remove dead ActorProcessor, ActorProcessorImpl, and ExposedPublisherReceive [pekko]
He-Pin opened a new pull request, #3027:
URL: https://github.com/apache/pekko/pull/3027
### Motivation
`ActorProcessor`, `ActorProcessorImpl`, and `ExposedPublisherReceive` are `@InternalApi` classes that were part of the legacy actor-based stream runtime. After the GraphStage migration (issue #2860), these classes are completely dead code:
- `ActorProcessor` class + object: never instantiated anywhere in the codebase
- `ActorProcessorImpl` abstract class: never extended by any subclass
- `ExposedPublisherReceive`: only used by the dead `ActorProcessorImpl`
### Modification
- Remove `ActorProcessor` class and object (lines 31-60 of `ActorProcessor.scala`)
- Remove `ActorProcessorImpl` class and object (lines 265-330 of `ActorProcessor.scala`)
- Remove `ExposedPublisherReceive.scala` entirely (43 lines)
- Clean up unused imports (`AbruptTerminationException`, `ActorAttributes`, `Processor`, `Subscription`)
- Add MiMa exclusion filters for the removed `@InternalApi` classes
### Result
-147 lines of dead code removed. `BatchingInputBuffer` and `SimpleOutputs` remain in `ActorProcessor.scala` (still used by `FanIn`/`FanOut` for `TLSActor`).
### Tests
- `stream/compile`: passes
- `stream/mimaReportBinaryIssues`: passes (with exclusions)
- `stream/headerCheckAll`: passes
- stream-tests (FlowSpec, SourceSpec, SinkSpec, PublisherSinkSpec): 166/166 pass
### References
Refs #2860
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For additional commands, e-mail: notifications-help@pekko.apache.org
Re: [PR] chore(stream): remove dead ActorProcessor, ActorProcessorImpl, and ExposedPublisherReceive [pekko]
Posted by "He-Pin (via GitHub)" <gi...@apache.org>.
He-Pin merged PR #3027:
URL: https://github.com/apache/pekko/pull/3027
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For additional commands, e-mail: notifications-help@pekko.apache.org