Commit graph

24426 commits

Author SHA1 Message Date
Patrik Nordwall
7d51a8d5f9
Merge pull request #28348 from akka/wip-27189-partition-patriknw
Partition must not pull from closed in, #27189
2019-12-12 14:11:23 +01:00
Patrik Nordwall
7ddbaf3852
Merge pull request #28361 from tegonal/persistence-style-1
[doc] adjust link text to next section
2019-12-12 13:57:48 +01:00
Arnout Engelen
2a812b7dc6 stream operator docs: example above RS semantics (#28357) 2019-12-12 11:07:16 +00:00
Patrik Nordwall
d115b61821
Merge pull request #28360 from WadeWaldron/stash-docs
Adding a clarification to the Akka Classic stash documentation about what happens when an actor is restarted.
2019-12-12 11:59:10 +01:00
Patrik Nordwall
0d7ad2794b
fix concurrent access to CompressionTable Object2IntHashMap (#28363)
* better initial capacity
  * small for empty
  * 2x to avoid resize
2019-12-12 10:41:22 +01:00
Robert Stoll
ded2373941 [doc] an for a better flow (#28359)
* [doc] `an` for a better flow

* [doc] fix typo `an` instead of `a`

* [doc] more `an` vs `a`

* [doc] add `a` for a better flow

* [doc] typo processes

* [doc] `in case` instead of `due to that`

* [doc] rephrase stashing discard reasons
2019-12-12 09:32:09 +01:00
Robert Stoll
569ff0495a
[doc] adjust link text to next section
and add the missing `the`
2019-12-12 06:41:26 +01:00
wadewaldron
325209b65f Adding a clarification to the Akka Classic stash documentation about what happens when an actor is restarted. 2019-12-11 15:42:30 -06:00
Michał Sieczkowski
3c1c06fb88 Fix a single grammar error in docs (#28352) 2019-12-11 07:45:13 -08:00
Patrik Nordwall
5a69d7ad1c Log non-completed rebalance at warning level (#28335) 2019-12-11 15:42:36 +01:00
Christopher Batey
17533f077c Example for intersperse (#28343) 2019-12-11 15:39:41 +01:00
Patrik Nordwall
1e67d9221e
Merge pull request #28342 from akka/wip-reference-comment-patriknw
typo in reference.conf comment
2019-12-11 12:20:13 +01:00
Patrik Nordwall
4c16857d6d
Remove allocation of Some from CompressionTable (#28330)
* JFR TLAB allocations showed that Some was allocated by the CompressionTable
  in the hot path of outbound stream
* CompressionTable.compress is called several times for each message
* This doesn't matter for the tcp transport since there are so many
  other allocations, but for aeron-udp it's nice to remove since it's
  pretty much the only allocation in the outbound stream
* equals for tests
2019-12-11 12:18:58 +01:00
Patrik Nordwall
75c5155582
remove logging of full config in ConfigDocSpec (#28314)
* changed to compile only, since it's not testing anything
2019-12-11 12:18:07 +01:00
Christopher Batey
edaea382ad Clarify typed timeout is not for akka typed (#28354) 2019-12-11 09:41:55 +01:00
Patrik Nordwall
b99db2a501 Remove wrong import from hello world doc sample, #28169 (#28345) 2019-12-11 08:00:15 +00:00
Patrik Nordwall
2a0e967be3 Supress ActorSelectionMessage with DeadLetterSuppression, #28226 (#28341)
* for example the Cluster InitJoin message is marked with DeadLetterSuppression
  but was anyway logged because sent with actorSelection
* for other WrappedMessage than ActorSelectionMessage we shouldn't unwrap and publish
  the inner in SuppressedDeadLetter because that might loose some information
* therefore those are silenced in the DeadLetterListener instead
2019-12-11 07:58:25 +00:00
Patrik Nordwall
0008f1f400 Partition must not pull from closed in, #27189 2019-12-10 17:33:11 +01:00
Patrik Nordwall
ecb87a8399 typo in reference.conf comment 2019-12-10 13:38:39 +01:00
Andrey Yamshchikov
87b94b65fd Add Java DSL Flow#mapError version without PartialFunction (#24992) (#26310)
* Add an overloaded version of the Flow#mapError (Java DSL) which does not use a Scala PartialFunction.
* Add test verifying mapError matching on parent class
* Add to Source, SubSource and SubFlow as well
2019-12-10 13:05:56 +01:00
Johan Andrén
653d05e7d6 Source.unfold examples (#28081) 2019-12-09 15:32:50 +01:00
Robert Stoll
fc48184a1e [doc] add to for a better flow (#28325)
* [doc] add `to` for a better flow

* Accidentally introduced empty line when resolving conflict
2019-12-09 11:45:03 +01:00
Brian Wignall
10e61e816f Fix typos (#28326) 2019-12-09 08:41:55 +01:00
Patrik Nordwall
be5a17aeae attempt to fix v1.class does not exist (#28309)
* sometimes I see v1.class does not exist error from incremental compiler
* could be because we have `object v1` and `trait V1` in same package
2019-12-06 16:48:05 +01:00
Robert Stoll
1062a97ee8 [doc] improve blog post actor text (#28320) 2019-12-06 16:43:50 +01:00
Robert Stoll
a5ed9ee262 [doc] add a for a better flow (#28322) 2019-12-06 16:43:17 +01:00
Robert Stoll
b706dbcbd3 [doc] add the for a better flow (#28319) 2019-12-06 16:42:48 +01:00
Johan Andrén
d344aa5112
Document JavaFlowSupport (#28315)
* Document JavaFlowSupport #23478

* Apidoc link didn't work out
2019-12-06 10:53:46 +01:00
Patrik Nordwall
517d2ae7b0 add whiteliest in serialization rolling update instruction (#28313) 2019-12-05 14:47:32 -08:00
Arnout Engelen
25ad10f893
Document asSubscriber stage (#28128)
* Unfortunately it seems the jdk9-only tests could not actually be compiled.
With these changes those can actually be compiled and ran again.

* Always link to jdk11 for java.* javadocs

* Update sbt-paradox-akka to fix linking to inner classes for javadoc
2019-12-05 16:40:05 +01:00
Patrik Nordwall
619a4494d5
Merge pull request #28308 from akka/wip-mdc-logback-config-patriknw
use %mdc logback config to output all MDC entries
2019-12-05 16:26:30 +01:00
Johannes Rudolph
702b6a7f41 actor: allow seamless access to untyped extensions given typed ActorSystem (#28294)
* actor: allow seamless access to untyped extensions given typed ActorSystem

* add overrides with concrete type for Java API everywhere
2019-12-05 16:01:22 +01:00
Patrik Nordwall
2c96a57d89
Merge pull request #28274 from chbatey/rebalance-dead-letter
Avoid dead letter for rebalance timeout msg
2019-12-05 15:58:56 +01:00
Patrik Nordwall
143cd6fa8a
Merge pull request #28303 from scala-steward/update/sbt-paradox-akka-0.28
Update sbt-paradox-akka to 0.28
2019-12-05 15:48:47 +01:00
Patrik Nordwall
c3a362a335
Merge pull request #28312 from akka/wip-mima-filter-patriknw
mima filter for ClusterLogger, #28207
2019-12-05 14:18:55 +01:00
Patrik Nordwall
f2b78a728a mima filter for ClusterLogger, #28207
* wasn't noticed in pr validation because mima settings were wrong
2019-12-05 13:18:32 +01:00
James Roper
eb64d05b8c Manifest-less Jackson serializers, #28113 (#28299)
* This adds the ability to make Jackson serializers not output the class
  name in the manifest in cases where type information is stored in a more
  concise format in the JSON itself.

* documentation about rolling updates

* Ensure programatic bindings are search in Jackson serializer
2019-12-05 12:50:01 +01:00
Patrik Nordwall
c84e4d82fb use %mdc logback config to output all MDC entries
* change logback doc example configurations
* change logback test configurations
* change docs around MDC
* change Slf4jLoggerSpec to use this instead
2019-12-05 11:47:37 +01:00
Patrik Nordwall
89165badbb
Structured log events, #28207 (#28209)
* Expanding the LogMarker to optionally include Map of additional
  properties
* The name of the marker shows up as `tags` in Kibana
* The properties of the LogMarker are included as MDC entries, which
  Logstash encoder automatically understands
* Implemented with classic eventStream logging so that it can be used
  from all places without dependencies to Slf4j
  * also means that it's possible to subscribe to LogEventWithMarker
    to consume these events via the eventStream
* move marker definitions to RemoteLogMarker and ClusterLogMarker
* marker for dead letters
* marker for leader detained/allowed
* marker for member status changed
* markers for shard allocated and started
* test LogMarker with properties in Slf4jLoggerSpec
* doc note of the LogMarker definitions
2019-12-05 11:36:21 +01:00
Patrik Nordwall
2f80042cd8
Merge pull request #28029 from akka/wip-25822-again-patriknw
Add external predicate to matchEquals and matchAny in ReceiverBuilder, #25774
2019-12-05 09:22:03 +01:00
Arnout Engelen
7839649fb2 Downgrade sbt-osgi (#28302)
To fix including jdk9-only classes
2019-12-04 14:39:56 -08:00
Johannes Rudolph
d0027850e6
build: fix mima checking for Akka 2.6.0 (#28300)
Previously, due to a syntax problem, only typed artifacts were checked against
2.6.0.

Co-Authored-By: Arnout Engelen <github@bzzt.net>
2019-12-04 15:40:38 +01:00
Scala Steward
8f77e6ccc3
Update sbt-paradox-akka to 0.28 2019-12-04 14:59:08 +01:00
Johan Andrén
cf0af245ef
New cluster node state diagram and other small improvements #24848 2019-12-04 12:39:31 +01:00
Robert Stoll
301be61566 [doc] do not repeat it for a better flow (#28295) 2019-12-04 08:58:41 +01:00
Robert Stoll
bb11efb354 [doc] rephrase don't model failure in protocol (#28296) 2019-12-04 08:58:10 +01:00
Xusheng Peng
7b943873fc add local affinity support for group router #28174 2019-12-03 16:34:27 +01:00
Philippus Baalman
e338a5aecd Update link to akka vavr sample project (#28284)
* Update link to akka vavr sample project
* Point link to 2.5 branch
2019-12-03 14:45:46 +01:00
Enno
4d04bb968b Docs: add some API links to stream operator docs (#28180)
* Docs: add some API links to stream operator docs

* Complement CONTRIBUTION.md

* Switch to frameless Javadoc
2019-12-03 09:16:05 +01:00
Scala Steward
d53d3701fa Update sbt-scalafix to 0.9.11 (#28285) 2019-12-02 13:01:08 +01:00