Commit graph

24896 commits

Author SHA1 Message Date
Renato Cavalcanti
1f288a6923
Merge pull request #28737 from akka/wip-minor-releasing-patriknw
fix format of RELEASING.md
2020-03-16 21:44:13 +01:00
Ignasi Marimon-Clos
2155c8c05a
Merge pull request #28740 from ignasi35/persistence-docs-readability
Avoid a duplicate link text.
2020-03-16 17:21:47 +01:00
Ignasi Marimon-Clos
69ce819b76 Fix link text 2020-03-13 22:36:51 +01:00
Patrik Nordwall
98f8179376
Mark journalFor and OptionVal InternalStableApi (#28716)
* journalFor is used by akka-persistence-cassandra
2020-03-13 17:51:50 +01:00
Patrik Nordwall
73b62ce6ea fix format of RELEASING.md 2020-03-13 16:35:46 +01:00
Scala Steward
7faed3dee8
Update metrics-core, metrics-jvm to 4.1.5 (#28706) 2020-03-13 15:52:57 +01:00
Patrik Nordwall
41a0de1886
Merge pull request #28733 from raboof/no-rangepos-by-default
Don't set -Yrangepos by default
2020-03-13 15:40:00 +01:00
Arnout Engelen
04dccf42c0 Don't set -Yrangepos by default #26900
It is not required for all scalafix rules anyway, and breaks genjavadoc
2020-03-13 11:20:58 +00:00
Patrik Nordwall
ad0f19a694
fix unmoored doc comment in SequencedMessage (#28730)
* failing nightly publish
* becomes compilation error when publishLocal
2020-03-13 10:38:10 +01:00
Johan Andrén
c733a09332
Tightly coupled test not updated with the previous revert (#28728) (#28731) 2020-03-13 10:32:11 +01:00
Ignasi Marimon-Clos
72e418de09
Merge pull request #28728 from johanandren/wip-Scala-212-same-thread-revert
Always use the internal same thread execution context impl on Scala 2.12
2020-03-12 18:02:35 +01:00
Johan Andrén
6f23b1fb4b
Update Source.actorRef sample to not use deprecated method #28679 2020-03-12 17:24:31 +01:00
Johan Andrén
779993e7c3 Always use the internal same thread execution context impl on Scala 2.12 2020-03-12 17:07:34 +01:00
yiksanchan
f01c9a3aa0
add missing full stop 2020-03-12 09:02:14 -07:00
Patrik Nordwall
7d790ef328
Merge pull request #28155 from akka/wip-20984-reliable-delivery-patriknw
Reliable delivery in Typed, #20984
2020-03-12 16:52:39 +01:00
Patrik Nordwall
1d16e847b5 Reliable delivery in Typed, #20984
Different approach than in classic AtLeastOnceDelivery because I would like:
* support flow control, with a work pulling approach
* be possible to use with or without persistence (without it may loose
  messages if producer node crashes)
* detect lost messages on the consumer side and let that drive resends,
  instead of aggressively resending from producer side
* deliver messages in order and deduplicate resent messages
* have an efficient protocol for acknowledgments over the network (not ack each message),
  but still have a simple one-by-one protocol for the end user

* support 3 use cases (building blocks)
  * point-to-point
  * work pulling
  * sharding
* optional durable queue, with one event sourced implementation
* protobuf serialization
* ApiMayChange
* reference docs and examples
* api docs
* doc example code missing so far
2020-03-12 15:37:16 +01:00
Renato Cavalcanti
6e171815b6
Adds ActorRef.ignore (#28630) 2020-03-12 12:40:56 +01:00
Johan Andrén
8721b05a66
Cover adaptation failures with supervision #28592 2020-03-11 17:56:30 +01:00
Bartłomiej Szwej
717d72ff8f
Fix ExplicitlyTriggeredScheduler cancellation #28604 2020-03-11 16:30:37 +01:00
Arnout Engelen
dba69dba1d
Add docs and examples for RS fromPublisher #25468 2020-03-11 15:56:59 +01:00
Enno
45636e5af4
Docs: use https links (#28713) 2020-03-11 15:56:22 +01:00
Patrik Nordwall
1c58996276
doc: add link to video in CQRS page (#28714) 2020-03-11 15:55:56 +01:00
Johan Andrén
6bc4e3b94c
Sharded Daemon Process #28710
A new cluster tool for running a number of actor instances balanced over the cluster.
2020-03-10 18:04:09 +01:00
Johan Andrén
d26453b5e8
Clean up same thread execution contexts #26690
* deprecate internal sameThread ec and use a new one for all internal use sites
* Use the respective Scala version standard library "same thread" ec 
* fallback to the old inline impl on 2.12 when reflection isn't possible
2020-03-10 15:39:30 +01:00
Johan Andrén
59ce257209
Distributed pubsub for typed (#28625)
* First stab at distributed pubsub for typed

* Also allow sending to a single subscriber across the topic

* Revert "Also allow sending to a single subscriber across the topic"

This reverts commit 4fd4f0b75c0dda01706dcde70645dcfa09da889b.

* Serializer and basic multi-jvm test

* docs

* Review feedback

* This reads better

* One brace too many

* sample formatting/headers/yadi

* Hide actual messages to ease bincomp evolution

* More tesssssts

* And even moar tessssssssts

* Review feedback addressed

* Same serialization as typed sharding
Mention turnaround in docs
2020-03-10 14:01:19 +00:00
Christopher Batey
27da0a23a9
Fix java leases usage from java and scala #28685
Leases are always stored as a ScalaLease and the Java LeaseProvider
unwraps the adapter.

It is important that the same lease can be used from java and scala for
mixed langugae code bases.
2020-03-10 14:47:32 +01:00
Ignasi Marimon-Clos
d392e6a7f1
Fix ambiguous reference to position in ByteBuffer/Buffer (#28709) 2020-03-10 12:45:00 +00:00
Johan Andrén
d8aed9e9d3
Operator examples for statefulMapConcat #25468 2020-03-10 10:36:07 +01:00
Enno
52c83dca34
Docs: Sink.foreach (#28693) 2020-03-10 09:37:34 +01:00
Scala Steward
e819ae9f51
Update jackson-databind to 2.10.3 (#28678) 2020-03-09 17:44:06 +01:00
Christopher Batey
0f77212913
Fix takeWhile description (#28703) 2020-03-09 17:15:48 +01:00
Christopher Batey
5b485be715
Add CQRS page to docs (#28705)
To highlight the cqrs sample in the index and make it more clear you can
use akka persistence for CQRS.
2020-03-09 14:20:23 +01:00
Patrik Nordwall
1994a4b4f5
Merge pull request #28677 from renatocaval/remoting-failed-to-bind
Reserve UPD or TPC ports according to artery config
2020-03-09 13:31:25 +01:00
Patrik Nordwall
ede2e56ccb
Merge pull request #28704 from chbatey/fix-ambiguous-reference-buffer
Fix ambiguous reference to position in ByteBuffer/Buffer
2020-03-09 13:05:04 +01:00
Christopher Batey
0f18137393 Fix ambiguous reference to position in ByteBuffer/Buffer
When compiling with Java 9+ and running unidoc

Fixes https://jenkins.akka.io:8498/job/akka-docs/3609/
2020-03-09 08:28:05 +00:00
Viktor Klang (√)
66f4d30098
Improving the performance of ByteString.decodeString, and adding base64
* Improving the performance of ByteString.decodeString, and adding ByteString.encodeBase64 and ByteString.decodeBase64
* ByteString.take should return itself whenever possible
* Implementing fallback for the rare case where the JDKs Base64 returns a non-array-backed ByteBuffer
* Adding mima excludes for encodeBase64/decodeBase64
2020-03-06 14:14:34 +01:00
Johan Andrén
cee4792c31
Update aeron-client, aeron-driver to 1.26.0 (#28690)
And agrona to 1.4.0
2020-03-05 15:11:05 +01:00
Johan Andrén
c46861ed26
Add LogWithMarker to Akka Stream #28450 2020-03-05 15:05:05 +01:00
Christopher Batey
f1dbb79b71
External sharding client handle empty DData key (#28668) 2020-03-04 17:16:06 +01:00
Arnout Engelen
e487088a27
Allow closing StreamConverter InputStream twice #28664 2020-03-04 17:12:50 +01:00
Nicolas Deverge
72d2b7f034
Issue with the documentation for Partition (#28682)
The sample does not work as the outlet for odd numbers should be connected to the other port.
2020-03-04 17:12:23 +01:00
Johannes Rudolph
655dfbc67f
stream: don't create AbruptTerminationException in happy case (#28686)
Turned up in heavy stream materialization churn benchmark.
2020-03-04 17:11:23 +01:00
Johan Andrén
3157b0199b
MapAsync wouldn't complete when upstream does in all scenarios #28657 2020-03-03 17:17:50 +01:00
Johan Andrén
e6ee6ee4e0
Avoid SL4J noise by triggering logger init from single thread #28673 2020-03-03 16:18:33 +01:00
Arnout Engelen
0eb3cd548b
Update to scalatest 3.1.1 (#28662)
* Update to scalatest 3.1.1

* Comments
2020-03-03 11:51:07 +01:00
Johan Andrén
62c71a21de
Eliminate logging race condition in ActorSystemSpec #28648 2020-03-03 11:17:55 +01:00
Johan Andrén
f781939353
Incorrect assumption in test #28620 (#28643) 2020-03-03 10:49:45 +01:00
Christopher Batey
bfebb235d5
Doc onFailureWithBackoff (#28356) 2020-03-03 10:18:34 +01:00
Johan Andrén
1dc715ddc8
Add some nesting samples and clarifications to the docs #28659 2020-03-03 09:13:06 +01:00
Johan Andrén
fc6dd5f049
Race condition in typed AskSpec #28640 (#28672)
Test didn't verify that subscription was completed before triggering the event
it expected to get an event bus event about.

Verified manually with a sleep in EventStreamAdapter.
2020-03-03 07:42:57 +00:00