The config namespace where the journal is configured, default is cassandra-journal
The config namespace where the query-journal is configured, default is the same
as CassandraReadJournal.Identifier
Migrates the given persistenceIds from the messages
table to the
new tags_view
table.
Migrates the given persistenceIds from the messages
table to the
new tags_view
table. tag_view
table must exist before calling this
and can be created manually or via [createTagsTable]
This is useful if there there is a more efficient way of getting all the
persistenceIds than [CassandraReadJournal.currentPersistenceIds] which does
a distinct query on the messages
table.
This can also be used to do partial migrations e.g. test a persistenceId in production before migrating everything.
It is recommended you use this if the messages
table is large.
PersistenceIds to migrate
A Future that completes when the migration is complete
Migrates the entire messages
table to the the new tag_views
table.
Migrates the entire messages
table to the the new tag_views
table.
Uses [CassandraReadJournal.currentPersistenceIds] to find all persistenceIds. Note that this is a very inefficient cassandra query so might timeout. If so the version of this method can be used where the persistenceIds are provided.
Persistence ids can be excluded (e.g. useful if you know certain persistenceIds don't use tags
A Future that completes when the migration is complete.
(Since version ) see corresponding Javadoc for more information.