Johannes Rudolph
eb1236419d
stream testkit: add support for triggering and asserting cancellation with cause
2019-10-15 13:15:21 +02:00
Johannes Rudolph
28d4fb4b00
stream: refactoring: only one implementation for completeStage / cancelStage / failStage
2019-10-15 13:15:21 +02:00
Matthew Smedberg
3e71b8a8b8
Provide cancellation for CoordinatedShutdown tasks #27335
2019-10-15 13:01:13 +02:00
Christopher Batey
b5eb18a033
Document using an EventSourcedBehavior as a PersistentFSM ( #27931 )
...
Re-uses the code from the migration guide as the mgiration logic
is in adapters.
Almost seems very obvious you can do this but can't hurt to have.
* Apply suggestions from code review
Co-Authored-By: Helena Edelson <helena@users.noreply.github.com>
2019-10-15 12:22:14 +02:00
Patrik Nordwall
46fcca5f39
Add API for multi-dc Sharding/Singleton in Typed, #27705 ( #27974 )
...
* add withDataCenter in Entity, following same patterna as the role
* update cluster-dc.md, split in classic and new pages
* fix bug in ClusterSharding shouldHostShard
* contains on String
* update multi-dc singleton sample
2019-10-15 12:20:41 +02:00
Patrik Nordwall
c83d04c1f8
Merge pull request #27978 from akka/wip-scala-2.12-simplifications-patriknw
...
small simplification since Scala 2.11 isn't supported
2019-10-15 11:17:54 +02:00
Patrik Nordwall
5de5dec6ee
Merge pull request #27988 from akka/wip-protobuf-3.10.0-patriknw
...
Update protobuf-java and protoc to 3.10.0
2019-10-15 11:09:30 +02:00
Christopher Batey
01b65550ed
This -5 pads out the max level of a logger, remove when using [] ( #27982 )
...
When we use [] around the level it adds a space which then means
searching for [INFO] doesn't work. Left it in for the examples
that don't surround logger with []
2019-10-15 11:08:58 +02:00
Patrik Nordwall
50a2355ec6
inmem journal must not reset highestSequenceNr after journal cleanup, #27994 ( #27995 )
...
* add tck test (failed for exactly this)
* keep track of highest
2019-10-15 10:37:48 +02:00
Patrik Nordwall
4bd3edaa32
add missing apply for consistency types, #27997 ( #27998 )
2019-10-15 10:36:13 +02:00
Patrik Nordwall
4600b23c65
Handle ActorInitializationException from Classic child in Typed parent, #27970
2019-10-15 10:34:36 +02:00
Johan Andrén
3620017edf
Tags from actor props goes into MDC, #27791 ( #27856 )
...
* Initialize logging things together. Save 2 fields in ActorContextAdapter (if logging isn't used)
* Dealt with bincomp by handcoding things in Deploy.
* Pass tags in remote deploy messages (serialization)
* Docs plus signature that works for Java API
* Allow tags to be empty or else we can't create an `.empty`
2019-10-14 17:57:11 +02:00
Patrik Nordwall
4e8a5d333b
More structured logger names, #27922 ( #27934 )
...
* some cluster logging improvements
* most logger names are actually good, when using ActorLogging since
config can be setup on the package (prefix)
* override logSource when StageLogging is used
* replace system.log with more specific logger
2019-10-14 17:55:12 +02:00
Patrik Nordwall
6557967d88
Merge pull request #27993 from akka/wip-lastSequenceNr-patriknw
...
lastSequenceNr should reflect the snapshot sequence
2019-10-14 16:40:08 +02:00
Johan Andrén
6190f0bc58
Provide Scheduler implicitly from implicit typed actorsystem ( #27986 )
2019-10-14 16:33:06 +02:00
Tanju Erinmez
9d21207f41
lastSequenceNr should reflect the snapshot sequence and not start with 0 when journal is empty ( #27496 )
...
* lastSequenceNr should reflect the snapshot sequence number and not start
at 0 when there was no journal to begin with.
* Use LevelDBJournal in Test Case
The test case now properly simulates a recovery from a snapshot without
a journal.
(cherry picked from commit df2a1d8a52e13aa09edd20bcf95ff617cd7acf9c)
2019-10-14 14:51:09 +02:00
Patrik Nordwall
78281ba92f
doc: improvements to Distributed Data docs ( #27971 )
...
* doc: improvements to Distributed Data docs
* leftover
* java formatting
2019-10-14 14:03:04 +02:00
Johan Andrén
b5400975e5
Upgrade to Config 1.4.0 ( #27985 )
2019-10-14 11:55:56 +01:00
Scala Steward
b50ebde456
Update aeron-client, aeron-driver to 1.22.1 ( #27979 )
2019-10-14 11:55:05 +01:00
Scala Steward
63df007685
protoc version 3.10.0
2019-10-14 11:11:21 +02:00
tison
853b5b62a1
Remove ActorSubscriber #26187
2019-10-14 10:41:24 +02:00
Patrik Nordwall
ac08ca8729
small simplification since Scala 2.11 isn't supported
2019-10-11 16:55:30 +02:00
Patrik Nordwall
bb622e639b
Merge pull request #27977 from johanandren/wip-unbreak-EventSourcedSequenceNumberSpec
...
Two new test cases missed the PersistenceId.ofUniqueId
2019-10-11 16:37:51 +02:00
Patrik Nordwall
fb1dc73da0
Merge pull request #27959 from akka/wip-doc-minor-singleton-patriknw
...
doc: minor improvements to cluster-singleton.md
2019-10-11 16:18:41 +02:00
Johan Andrén
f7a88447ca
Two new test cases missed the PersistenceId.ofUniqueId
2019-10-11 15:46:26 +02:00
Patrik Nordwall
6f48dece1b
Merge pull request #27947 from johanandren/wip-27944-runWith-javadsl-coverage
...
API compile coverage for Java DSL runWith
2019-10-11 15:44:57 +02:00
Johan Andrén
2f7dfbfc01
Last sequence number fix ( #27964 )
...
* Reproducer for the bug
* Separate state when waiting for snapshot write #27935
Allows for accessing seqNr while snapshot in progress
2019-10-11 13:45:40 +01:00
Patrik Nordwall
ca7cad3a6d
fix TlsSpec on JDK 11, #27956 ( #27961 )
...
* one less cause wrapping in JDK 11
2019-10-11 10:11:06 +02:00
Patrik Nordwall
f0e4ece497
Merge pull request #27958 from SageM/fix-wording-in-documentation
...
Fix wording
2019-10-11 09:31:02 +02:00
Christopher Batey
40bf6bf5d5
Rename LoggingEventFilter to LoggingTestKit ( #27888 )
2019-10-11 08:38:20 +02:00
Patrik Nordwall
c8570f277d
doc: minor changes to sharding docs ( #27967 )
2019-10-10 23:27:08 -06:00
SageM
190ab3f0e7
Fix wording
...
Update akka-docs/src/main/paradox/stream/stream-parallelism.md
Co-Authored-By: Helena Edelson <helena@users.noreply.github.com>
2019-10-10 17:00:13 +02:00
Christopher Batey
8c70430d2f
Document typed extensions ( #27946 )
2019-10-10 16:45:17 +02:00
Patrik Nordwall
34096e671d
Fail startup if mixed versions are used, #27965 ( #27966 )
...
* good to make it more strict in Akka 2.6.0
* possibility to opt out via config
* migration guide
* clarification of why
* don't mention opt-out in migration guide because it shouldn't be abused
2019-10-10 16:31:51 +02:00
Patrik Nordwall
e40a2591d3
Merge pull request #27811 from akka/wip-more-deprecation-2-patriknw
...
Deprecate JavaLogger (java.utl.logging)
2019-10-10 16:30:22 +02:00
Arnout Engelen
9db8fc6cb5
Avoid using mockito in akka-cluster-sharding ( #27845 )
2019-10-10 07:38:56 -06:00
Patrik Nordwall
832510208d
missing barrier in RemoteFeaturesSpec, #27838 ( #27963 )
2019-10-10 06:19:25 -06:00
Patrik Nordwall
bb6d6365b1
Scaladoc improvements ( #27929 )
...
* private[akka] visibility on some internal classes
* found via unidoc
* fix Scaladoc links
2019-10-10 14:17:01 +02:00
Patrik Nordwall
544c5fa17c
Merge pull request #27952 from scala-steward/update/aeron-client-1.22.0
...
Update aeron-client, aeron-driver to 1.22.0
2019-10-10 14:10:27 +02:00
Scala Steward
36e4cbcb79
Update agrona to 1.0.8 ( #27905 )
2019-10-10 14:09:56 +02:00
Patrik Nordwall
ddaceae80d
rename PersistenceId.apply to PersistenceId.ofUniqueId, #27924 ( #27953 )
...
* to make the entityTypeHint, entityId the more prominent choice, and
avoid that only the entityId is used as the uniqueId
2019-10-10 14:05:46 +02:00
Patrik Nordwall
7610aeb20c
Merge pull request #27945 from ennru/paradox-theme-0.25
...
Akka Paradox theme 0.25 (with transitive Paradox, apidoc, project-info)
2019-10-10 08:37:57 +02:00
Patrik Nordwall
b06ea5bdb0
doc: minor improvements to cluster-singleton.md
...
* proofreading
2019-10-10 07:41:22 +02:00
Enno
3fc148f6f2
Typed docs: some spelling and language fixes ( #27919 )
2019-10-09 19:43:03 +02:00
Patrik Nordwall
25ff48cca1
Merge pull request #27848 from johanandren/wip-24580-GraphMergePrioritizedSpec-fail-fix
...
More tolerance in GraphMergePrioritizedSpec
2019-10-09 17:31:03 +02:00
Patrik Nordwall
1b2f848103
Deprecate JavaLogger (java.utl.logging)
2019-10-09 17:18:45 +02:00
Christopher Batey
9a2fa8d2a9
Go back to taking a Behavior to typed pool routers, #27807 ( #27942 )
2019-10-09 17:07:24 +02:00
Patrik Nordwall
9fa452daea
Merge pull request #27909 from akka/wip-27661-proto-v3-dependency-patriknw
...
adjust dependencies to akka-protobuf-v3, #27661
2019-10-09 17:04:22 +02:00
Scala Steward
ef72933762
Update aeron-client, aeron-driver to 1.22.0
2019-10-09 15:42:52 +02:00
Johan Andrén
d7aa6d5d03
API compile coverage for Java DSL runWith #27944
2019-10-09 15:25:12 +02:00