Commit graph

135 commits

Author SHA1 Message Date
PJ Fanning
bbbcaccd2c
revert zipWithIndex changes (#1526)
* revert zipWithIndex changes

* scalafmt

* Update FlowZipWithIndexSpec.scala
2024-10-14 09:28:14 +01:00
Matthew de Detrich
bc32e04b13 Fix CollectionUtil toSeq methods
Signed-off-by: Matthew de Detrich <mdedetrich@gmail.com>
2024-10-01 15:17:53 +02:00
PJ Fanning
090390a4f0
issue with full list copies in pekko-stream javadsl (#1491)
* commit

CollectionUtil

scalafmt

* build issue

* inline

* scala 3 compile issue

* continue use if Util.immutableSeq in Scala 2.12

* Update CollectionUtil.scala
2024-09-30 20:27:45 +01:00
João Costa
6ceb59ba26
Support primitives in Flow#collectType (#1490) 2024-09-20 21:05:18 +01:00
Matthew de Detrich
5f2d690b89 Fix typos in optionalVia/unsafeOptionalVia 2024-08-30 12:37:40 +02:00
PJ Fanning
6945a170ab
update scaladoc for QueueOfferResult.scala (#1455)
* update scaladoc for QueueOfferResult.scala

* scalafmt
2024-08-27 13:11:17 +01:00
Matthew de Detrich
f548ea55ad Add wiretap/wiretapContext to FlowWithContext/SourceWithContext 2024-08-27 11:44:08 +02:00
Matthew de Detrich
302f38f148 Add alsoTo/alsoToContext to FlowWithContext/SourceWithContext 2024-08-23 15:56:48 +02:00
Matthew de Detrich
60c480aecd Add optionalVia and unsafeOptionalDataVia 2024-08-21 14:54:21 +02:00
PJ Fanning
392a05c933
fix code comment with 'aquired' typo (#1429) 2024-08-08 13:51:38 +01:00
Matthew de Detrich
f9ad446a58 Fix uncurried stream ops in javadsl 2024-07-21 13:55:48 +02:00
AndyChen(Jingzhang)
3f4d52ece8
feat: add QueueClosed singleton instance for Java API (#1377) 2024-06-27 14:30:25 +08:00
He-Pin(kerr)
1d87923667
feat: Add isCompleted method to BoundedSourceQueue (#1374) 2024-06-18 19:19:02 +08:00
scala-steward-asf[bot]
fa1351b213 Reformat with scalafmt 3.8.2
Executed command: scalafmt --non-interactive
2024-06-16 07:56:40 +01:00
PJ Fanning
7647f13b9d
fix some typos (#1358) 2024-06-08 10:17:13 +01:00
He-Pin(kerr)
1e9a051777
chore: Add since 1.1.0 for foldWhile operator (#1335) 2024-05-21 23:49:36 +08:00
He-Pin(kerr)
2c3e9b43b6
chore: Add Source.fromArray operator for Java dsl. (#1248) 2024-04-30 22:52:39 +08:00
He-Pin(kerr)
55f065f257
chore: Refactor UnfoldResourceSourceAsync. (#1240) 2024-04-15 10:44:26 +08:00
He-Pin(kerr)
f39ab64439
chore: Avoid copy the whole iterable for mapconcat and statefulMapConcat in javadsl. (#1250) 2024-04-05 23:53:59 +08:00
He-Pin(kerr)
24e47b8cac
chore: Make use of splitIterator directly (#1249) 2024-04-05 22:44:44 +08:00
He-Pin(kerr)
bb6aafdf5b
chore: Refactory UnfoldResourceSource. (#1239) 2024-04-03 19:40:59 +08:00
He-Pin(kerr)
68bd00659e
chore: Add Source.iterate operator. (#1244) 2024-04-03 01:10:19 +08:00
He-Pin(kerr)
aba2785428
chore: Fix typo for Source.fromIterator operator. (#1242) 2024-03-31 17:12:04 +08:00
He-Pin(kerr)
ecdea09145
chore: Reduce convertions in javadsl's unfold operator. (#1236) 2024-03-28 15:55:51 +08:00
He-Pin(kerr)
c55837e2a8
chore: Add missing create method to javadsl Graph (#1230) 2024-03-24 19:57:42 +08:00
PJ Fanning
e3410bcaa8
Pekko becomes TLP (#1214) 2024-03-22 14:16:08 +01:00
He-Pin(kerr)
4bb851db12
chore: Remove default parameter of AbruptStreamTerminationException (#1212) 2024-03-21 16:02:32 +08:00
He-Pin(kerr)
b4ff0fcabf
chore: Pull instead of throw exception in groupBy operator. (#1210)
When a sub stream is already closed, but the main stream is still continue, instead of throw a TooManySubStreamOpenException, just drop the current element and continue pulling.
2024-03-20 11:48:39 +08:00
Matthew de Detrich
689e30bbe9 Fix uncaught decider exception in Split with Supervision.resumingDecider 2024-03-19 16:41:51 +01:00
He-Pin(kerr)
da5d8098e8
chore: Fuse In/OutHandler into GraphStageLogic. (#1208) 2024-03-19 14:09:39 +08:00
He-Pin(kerr)
5a0b2c1cfa
chore: Add a base termination for abrupt stream termination exceptions. (#1201) 2024-03-18 17:54:57 +08:00
He-Pin(kerr)
7eef4e017d
chore:Fix up typos for unfoldResource* operators. (#1190) 2024-03-15 02:17:44 +08:00
PJ Fanning
06cff559a4
some doc changes (#1177) 2024-03-09 13:57:01 +01:00
He-Pin(kerr)
c8a99aa590
chore: Remove the deprecation of statefulMapConcat operator. (#1147) 2024-02-29 13:11:11 +08:00
PJ Fanning
1e41829bf7
in TlsActor flush data to user only after handshake has finished (#1128)
Co-authored-by: Johannes Rudolph <johannes.rudolph@gmail.com>
2024-02-18 10:33:00 +01:00
AndyChen(Jingzhang)
8ce4973fc9
Configuration typo fixes (#1100)
* configuration typo

* chore: all module configuration typo fix

* apply suggestion
2024-02-05 17:21:23 +01:00
injae kim
7de1fb2edb
feat: Add AutoCloseable shortcut on mapWithResource (#1053)
* feat: Add AutoCloseable shortcut on mapWithResource

* Enhance test to check resource is closed after stream is completed

* Enhance comment

* Update doc

* Address comment

* Add resume, restart, stop strategy test

* Address comment

* Fix doc

* Fix typo
2024-02-01 18:47:57 +08:00
Luigi
abad72d869
feat: Add Sink.exists operator (#990)
* feat: +Flow.exists & Sink.exists

* chore: Update some doc and code.

* chore: Update method names in doc.

---------

Co-authored-by: He-Pin <hepin1989@gmail.com>
2024-01-30 14:31:23 +08:00
Laglangyue
f6da401abf
feat: Add Sink#forall operator (#989)
Co-authored-by: Jiafu Tang <jiafu.tang@qq.com>
2024-01-28 17:54:07 +08:00
PJ Fanning
a2a42eab33
fix bug in docs that uses akka names for configs (#1057) 2024-01-28 00:45:47 +08:00
He-Pin(kerr)
db4f57396d
chore: Make use of pattern matching on singleton type instead. (#1026)
More info: @som-snytt point out in https://scala-lang.org/files/archive/spec/2.13/08-pattern-matching.html#type-patterns see singleton.
2024-01-27 23:33:06 +08:00
He-Pin(kerr)
4c20580ff2
chore: Add Flow#flattenMerge operator. (#1045) 2024-01-27 18:03:23 +08:00
He-Pin(kerr)
325b463ee1
perf: Add dedicated collectFirst implementation. (#1041) 2024-01-26 14:47:04 +08:00
He-Pin(kerr)
5793433fd3
chore: Add @since 1.1.0 for flatten operator. (#1046) 2024-01-26 10:08:47 +08:00
He-Pin
0c01ab4242 chore: Remove unused attributes in Stages. 2024-01-23 20:43:20 +08:00
He-Pin(kerr)
2431eb4083
feat: Add Flow/Sink#foldWhile operator. (#1012) 2024-01-22 19:14:34 +08:00
He-Pin(kerr)
51b7ac519a
feat: Add collectFirst stream operator. (#984) 2024-01-20 19:39:22 +08:00
He-Pin(kerr)
cd70ae8a6a
perf: Micro optimization for collect* operator. (#983) 2024-01-20 19:31:16 +08:00
He-Pin(kerr)
637d72af7a
chore: Clean up some duplicated code.
---------

Co-authored-by: Matthew de Detrich <matthew.dedetrich@aiven.io>
2024-01-20 09:38:13 +01:00
He-Pin(kerr)
19da73673d
feat: Add collectWhile operator. (#964) 2024-01-17 01:07:47 +08:00