change deprecated versions to use Akka in name (#209)

* change deprecated versions to use Akka in name

* scalafmt

* update markdown
This commit is contained in:
PJ Fanning 2023-02-21 11:13:05 +01:00 committed by GitHub
parent 864ee821b9
commit 2df8d99786
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
78 changed files with 325 additions and 313 deletions

View file

@ -35,7 +35,7 @@ object EventEnvelope extends AbstractFunction4[Offset, String, Long, Any, EventE
meta: Option[Any]): EventEnvelope =
new EventEnvelope(offset, persistenceId, sequenceNr, event, timestamp, meta)
@deprecated("for binary compatibility", "2.6.2")
@deprecated("for binary compatibility", "Akka 2.6.2")
override def apply(offset: Offset, persistenceId: String, sequenceNr: Long, event: Any): EventEnvelope =
new EventEnvelope(offset, persistenceId, sequenceNr, event)
@ -61,7 +61,7 @@ final class EventEnvelope(
extends Product4[Offset, String, Long, Any]
with Serializable {
@deprecated("for binary compatibility", "2.6.2")
@deprecated("for binary compatibility", "Akka 2.6.2")
def this(offset: Offset, persistenceId: String, sequenceNr: Long, event: Any) =
this(offset, persistenceId, sequenceNr, event, 0L, None)

View file

@ -18,7 +18,7 @@ import org.apache.pekko
import pekko.actor.ExtendedActorSystem
import pekko.persistence.query.ReadJournalProvider
@deprecated("Use another journal/query implementation", "2.6.15")
@deprecated("Use another journal/query implementation", "Akka 2.6.15")
class LeveldbReadJournalProvider(system: ExtendedActorSystem, config: Config) extends ReadJournalProvider {
val readJournal: scaladsl.LeveldbReadJournal = new scaladsl.LeveldbReadJournal(system, config)

View file

@ -34,7 +34,7 @@ import pekko.stream.javadsl.Source
* absolute path corresponding to the identifier, which is `"pekko.persistence.query.journal.leveldb"`
* for the default [[LeveldbReadJournal#Identifier]]. See `reference.conf`.
*/
@deprecated("Use another journal implementation", "2.6.15")
@deprecated("Use another journal implementation", "Akka 2.6.15")
class LeveldbReadJournal(scaladslReadJournal: pekko.persistence.query.journal.leveldb.scaladsl.LeveldbReadJournal)
extends ReadJournal
with PersistenceIdsQuery

View file

@ -49,7 +49,7 @@ import pekko.util.ByteString
* absolute path corresponding to the identifier, which is `"pekko.persistence.query.journal.leveldb"`
* for the default [[LeveldbReadJournal#Identifier]]. See `reference.conf`.
*/
@deprecated("Use another journal implementation", "2.6.15")
@deprecated("Use another journal implementation", "Akka 2.6.15")
class LeveldbReadJournal(system: ExtendedActorSystem, config: Config)
extends ReadJournal
with PersistenceIdsQuery