pjfanning commented on code in PR #2027: URL: https://github.com/apache/pekko/pull/2027#discussion_r2274387476
########## persistence/src/main/scala/org/apache/pekko/persistence/journal/AsyncWriteJournal.scala: ########## @@ -67,9 +67,21 @@ trait AsyncWriteJournal extends Actor with WriteJournalBase with AsyncRecovery { final val receiveWriteJournal: Actor.Receive = { // cannot be a val in the trait due to binary compatibility val replayDebugEnabled: Boolean = config.getBoolean("replay-filter.debug") + val enableGlobalWriteResponseOrder: Boolean = config.getBoolean("write-response-global-order") + val eventStream = context.system.eventStream // used from Future callbacks implicit val ec: ExecutionContext = context.dispatcher + // should be a private method in the trait, but it needs the enableGlobalWriteResponseOrder field which can't be + // moved to the trait level because adding any fields there breaks bincompat + def sendWriteResponse(msg: Any, snr: Long, target: ActorRef, sender: ActorRef): Unit = { Review Comment: add the `@InternalApi` annotation to signal that it is not a public API and we can refactor it later as part of 2.0.0 dev (where we are allow to break bin compat) -- 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-unsubscr...@pekko.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@pekko.apache.org For additional commands, e-mail: notifications-h...@pekko.apache.org