pjfanning commented on code in PR #2027: URL: https://github.com/apache/pekko/pull/2027#discussion_r2276254421
########## 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: This thread is attached to line 77 in AsyncWriteJournal.scala (of your PR). I am asking you add an annotation to `def sendWriteResponse`. The annotation is `@org.apache.pekko.annotation.InternalApi` - although would be nicer to have an import for this class and to then just use `@InternalApi`. -- 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