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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to