Commit graph

22261 commits

Author SHA1 Message Date
Richard Imaoka
a17a61557c doc Replace the word stage by operator in stream doc (#25138) 2018-05-29 10:00:48 +02:00
Patrik Nordwall
1919f222fa
Merge pull request #25154 from akka/wip-25143-neg-ack-log-patriknw
limit negative acknowledgement logging, #25143
2018-05-28 11:45:26 +02:00
Patrik Nordwall
cf864a940f limit negative acknowledgement logging, #25143 2018-05-28 09:11:51 +02:00
Martynas Mickevičius
3d61400409 Decrease the uninitialized connection counter as late as possible #25148
This fixes (or decreases the chances significately for) a
situation where a stream of incoming connections is closed
and the incoming connection does not have a chance to startup
properly.
2018-05-25 16:22:48 +02:00
Richard Imaoka
84d53d1ad1 Persistence: replace initialState with emptyState (#25129) 2018-05-25 14:29:22 +02:00
Christopher Batey
8eb7b1ea81
Typed persistent event adapters/wrappers (#25050)
Typed persistent event adapters/wrappers
2018-05-25 10:23:04 +01:00
Arnout Engelen
c8064d069b
Merge pull request #25139 from ortex/fix-graph-stage-logging-docs
fix graph stage logging docs
2018-05-25 10:13:12 +02:00
Max Calderoni
c6b1f9b884 =doc wording improvement in stream-graphs.md subjunctive (#25145) 2018-05-25 14:59:59 +09:00
ortex
ea4fe1ba99 using unidoc for graph stage logging docs 2018-05-25 02:14:16 +03:00
Arnout Engelen
49322afae0 Update scala-java8-compat (#25142)
* Update scala-java8-compat

* Update scala-java8-compat only for scala 2.13

As it looks like 0.8.0 is not bincompat with 0.9.0
2018-05-24 23:08:22 +09:00
Doug Roper
8286ecffc5 Fix MultiByteArrayIterator.copyToArray silently drops bytes. #16303 (#25141)
I just got burned by #16303.

Answering https://github.com/akka/akka/issues/16303#issuecomment-62957914, it looks like `copyToArray[B >: Byte](Array[B])` can't call `getBytes(Array[Byte], Int, Int)` due to the type constraint (defined by `GenTraversableOnce`).

Instead, I'm going with the simple `isEmpty` solution proposed in the description of #16303 by @kpatrick-kixeye.
2018-05-24 16:11:50 +09:00
Andrew Bushmin
6a7488fa19
fix graph stage logging docs 2018-05-23 23:29:39 +03:00
Arnout Engelen
d08ebf4552
Merge pull request #24941 from hepin1989/deadleater
= actor add clarify message to dead letter listener
2018-05-23 12:25:16 +02:00
Konrad `ktoso` Malawski
6b204ff121
add missing have for past tense 2018-05-23 01:39:52 +09:00
虎鸣
8736d2a407 = actor add clarify message to dead letter listener 2018-05-22 22:59:55 +08:00
Arnout Engelen
414be2c0cb
doc Replace graph stage and processing stage by operator in .md files for stream (#25117) 2018-05-22 15:59:54 +02:00
Richard Imaoka
cbc0ee484f Reflect review comments 2018-05-22 20:57:00 +09:00
Mirco Dotta
2722cf8c6b EventFilter.error filters all errors regardless of the cause, #25057 (#25125) 2018-05-22 13:54:56 +02:00
Patrik Nordwall
3439377816
Merge pull request #24983 from akka/wip-24972-tcp-restart-patriknw
Quarantine and cleanup idle associations, #24972
2018-05-22 13:11:36 +02:00
Patrik Nordwall
7fc7744049 Quarantine and cleanup idle associations, #24972
* fix NPE in shutdownTransport
  * perhaps because shutdown before started
  * system.dispatcher is used in other places of the shutdown
* improve logging of compression advertisment progress
* adjust RestartFlow.withBackoff parameters
* quarantine after ActorSystemTerminating signal
  (will cleanup compressions)
* Quarantine idle associations
  * liveness checks by sending extra HandshakeReq and update the
    lastUsed when reply received
  * concervative default value to survive network partition, in
    case no other messages are sent
* Adjust logging and QuarantinedEvent for harmless quarantine
  * Harmless if it was via the shutdown signal or cluster leaving
2018-05-22 13:10:30 +02:00
Konrad `ktoso` Malawski
de04758bb8 more docs for Sink.queue and actorRefWithAck (#25063) 2018-05-22 11:27:54 +02:00
Patrik Nordwall
8f40dc7f03 message adapter catching too much (#25110) 2018-05-22 12:14:53 +03:00
Olivier ROLAND
00f07c2429 Fix ReceiveTimeout issue with NotInfluenceReceiveTimeout #24770 2018-05-22 11:42:35 +03:00
Patrik Nordwall
f750f73e1f define interfaces for all Typed extensions, #24776 2018-05-22 09:23:50 +03:00
Patrik Nordwall
e6633f17fa
Make sure Serialization.currentTransportInformation is always set, #25067
* The ThreadLocal Serialization.currentTransportInformation is used for serializing local
  actor refs, but it's also useful when a serializer library e.g. custom serializer/deserializer
  in Jackson need access to the current ActorSystem.
* We set this in a rather ad-hoc way from remoting and in some persistence plugins, but it's only
  set for serialization and not deserialization, and it's easy for Persistence plugins or other
  libraries to forget this when using Akka serialization directly.
* This change is automatically setting the info when using the ordinary serialize and deserialize
  methods.
* It's also set when LocalActorRefProvider, which wasn't always the case previously.
* Keep a cached instance of Serialization.Information in the provider to avoid
  creating new instances all the time.
* Added optional Persistence TCK tests to verify that the plugin is setting this
  if it's using some custom calls to the serializer.
2018-05-21 16:59:04 +02:00
Richard Imaoka
6ec46e762f Add example for Java typed serialization (#25007)
* Add example for Java typed serialization (#24993)
2018-05-21 15:30:44 +01:00
Thomas Smith
3401a1bd21 Fix BoundedBlockingQueueSpec against spurious wakeups (#25025) 2018-05-21 17:09:25 +03:00
Jonas Chapuis
8ff81fbce7 Clarify mailbox configuration entry location in documentation (#25071) 2018-05-21 17:06:39 +03:00
Patrik Nordwall
52f24e5174 move Typed ActorMaterializer to scaladsl/javadsl, #24868
* add type alias for typed ActorMaterializer
* name it ActorMaterializerFactory in javadsl

Migration guide:
Scala:
import akka.stream.typed.ActorMaterializer -> akka.stream.typed.scaladsl.ActorMaterializer
Java:
import akka.stream.typed.ActorMaterializer -> akka.stream.typed.javadsl.ActorMaterializerFactory
2018-05-21 17:05:09 +03:00
Richard Imaoka
989a80d90f Better warning message on cluster sharding registration (#24906)
* Better warning message on cluster sharding registration (#24295)

* Extra useful message

* Add [] in the log messages around membersByAge.head
2018-05-21 22:00:52 +09:00
Patrik Nordwall
8c4181e552
Merge pull request #25104 from akka/wip-25084-rename-testkit-patriknw
Rename Typed TestKit, #25084
2018-05-21 14:21:02 +02:00
Patrik Nordwall
b08d3acb4b Rename Typed TestKit, #25084
Artifact:
akka-testkit-typed -> akka-actor-testkit-typed

Package:
akka.testkit.typed -> akka.actor.testkit.typed

Config:
akka.typed -> akka.actor.typed
akka.testkit.typed -> akka.actor.testkit.typed
2018-05-21 11:51:51 +02:00
Patrik Nordwall
34bb7fee3c
Merge pull request #24988 from huntc/groupby-decider
Akka stream groupBy does not invoke decider
2018-05-21 11:30:57 +02:00
Patrik Nordwall
5fbf68f23d
Merge pull request #25108 from akka/wip-18785-orElse-patriknw
add Behavior.orElse, #18785
2018-05-21 11:22:36 +02:00
Vasin Ilya
7d0eed0631 Typed testkit: Adding proper NoEffects assertions (#25062)
* Adding proper NoEffects assertions
* Added NoEffects trait for expectations by type
2018-05-21 08:59:34 +01:00
Johan Andrén
eef58946d7 Less typed stop misbehavior (#25097)
* Typed stop misbehaving #25082, #25096

* Undo that "improvement" to intercept I did...
2018-05-21 07:30:40 +01:00
Richard Imaoka
984c081757 Replace processing stage with operator 2018-05-19 16:36:42 +09:00
Richard Imaoka
9784f65ced Replace graph stage with operator 2018-05-19 16:36:04 +09:00
Stefano Bonetti
f8ed3df013 =str #25043 using materializer.executionContext in UnfoldResourceSourceAsync (#25114) 2018-05-17 20:17:33 +09:00
Johan Andrén
b27bdba13b
Do not tear down connections on IllegalArgumentException from serializer #24910 2018-05-16 15:35:05 +02:00
Nick Poorman
0181a38ebc Fix typo in reference.conf (#25106)
rasio => ratio
2018-05-16 14:37:21 +02:00
Jimin Hsieh
53c3b817f3 Bump sbt and sbt-jmh version (#25103) 2018-05-16 13:43:21 +02:00
Paulo "JCranky" Siqueira
ad2bcfefd2 change "but, " to ", but" in modules.md (#25107)
The previous version sounds really weird, and just moving `,` makes it better.
2018-05-16 10:51:12 +09:00
Patrik Nordwall
3c05d848b1 add Behavior.orElse, #18785 2018-05-15 23:54:06 +02:00
Richard Imaoka
3caddf594c Add ref directive to GraphStage in .md files (#24995) (#25102) 2018-05-16 00:33:19 +09:00
Richard Imaoka
a57235098b consistent wording; operator instead of combinator, in remaining places (#25101) 2018-05-15 15:31:11 +02:00
Oliver Heger
8eff836dd2 Fix for contradictory OSGi meta data in akka-stream #25055 2018-05-15 15:13:07 +02:00
Filip Matusak
19f23514f6 #24778 MergeLatest operator 2018-05-15 15:03:52 +02:00
Arnout Engelen
9869c2355e
Fix Java Doc test for actorRefWithAck (#25079) 2018-05-15 11:52:07 +02:00
Richard Imaoka
ea84b8d469 Add library dependency section to documentation (#25010) 2018-05-15 11:44:33 +02:00