Commit graph

157 commits

Author SHA1 Message Date
He-Pin(kerr)
fc45e50b4e
feat: Add TraversalBuilder.getValuePresentedSource method for further optimization. (#1701) 2025-02-17 10:30:02 +08:00
He-Pin(kerr)
4252382d08
chore: Tweak withAttribuets in Flow (#1658) 2025-02-16 14:27:51 +08:00
scala-steward-asf[bot]
919d9c9309
Update protobuf-java to 3.25.6 (#1748)
* Update protobuf-java to 3.25.6

* regenerate protobuf classes with protoc 25.6

---------

Co-authored-by: scala-steward-asf[bot] <147768647+scala-steward-asf[bot]@users.noreply.github.com>
Co-authored-by: Arnout Engelen <arnout@bzzt.net>
2025-01-27 11:26:18 +01:00
He-Pin(kerr)
ba639f68a2
chore: Add the missing EmptySource case to TraversalBuilder (#1743) 2025-01-25 06:42:25 +08:00
scala-steward-asf[bot]
5b2aab6f7a
Update scalafmt-core to 3.8.4 (#1717)
* Update scalafmt-core to 3.8.4

* Reformat with scalafmt 3.8.4

Executed command: scalafmt --non-interactive

* Add 'Reformat with scalafmt 3.8.4' to .git-blame-ignore-revs

* remove postfixOps imports

Assuming we want to keep the default
`rewrite.avoidInfix.excludePostfix = false` - otherwise
we can drop this commit

---------

Co-authored-by: scala-steward-asf[bot] <147768647+scala-steward-asf[bot]@users.noreply.github.com>
Co-authored-by: Arnout Engelen <arnout@bzzt.net>
2025-01-18 10:36:38 +08:00
He-Pin(kerr)
b160861c41
chore: Require parallelism >= 1 in MapAsync and MapAsyncUnordered (#1700) 2025-01-10 21:18:39 +08:00
He-Pin(kerr)
18e98d4e38
chore: Require breadth >= 1 in FlattenMerge (#1699) 2025-01-10 19:16:01 +08:00
He-Pin(kerr)
640a9e9393
fix: avoid boxing in zipWithIndex and fix type signature in SubSource#zipWithIndex (#1669) 2025-01-07 21:18:45 +08:00
He-Pin(kerr)
c953f50ded
chore: Avoid forwarding method on ArrayDequeue in stream module. (#1687) 2025-01-06 10:45:35 +08:00
He-Pin(kerr)
7782cf55e8
chore: Use more lambda instread in stream module. (#1686) 2025-01-06 10:10:51 +08:00
He-Pin(kerr)
477fd393c2
fix: Fix occasional ordering issue in FlowWithContext#unsafeOptionalDataVia (#1681)
* chore: Test more rounds for unsafeDataVia keeping order.

* fix: Fix flask ordering in FlowWithContext#unsafeOptionalDataVia operator.
2025-01-06 00:10:18 +08:00
He-Pin(kerr)
c8ac6c06b1
chore: Make flatMapPrefix javadsl using java.util.List (#271) 2025-01-04 23:14:09 +08:00
He-Pin(kerr)
ce3620fc1a
chore: Fix leak in FlatMapPrefix operator. (#1622) 2025-01-04 00:56:50 +08:00
He-Pin(kerr)
d34927b56b
fix: Fix a leak in PrefixAndTail operator. (#1623) 2025-01-03 21:46:40 +08:00
He-Pin(kerr)
7fef5b75f3
fix: avoid call finalizeStage more times than once. (#1650) 2024-12-31 20:17:07 +08:00
He-Pin(kerr)
9596ea4c18
perf: Reduce loops in when clean queue in BroadcastHub (#1628) 2024-12-30 13:05:01 +08:00
He-Pin(kerr)
5334ea40f6
chore: Fix the @since of Sink.none operator, should be 1.2.0 (#1632) 2024-12-28 21:07:03 +08:00
虎鸣
898b2936e1 feat: Add Sink.none operator 2024-12-28 19:12:21 +08:00
虎鸣
2b916125f0 chore: avoid create an empty array everytime. 2024-12-28 19:10:46 +08:00
He-Pin(kerr)
8bb6e22853
chore: Remove SupervisedGraphStageLogic (#1619) 2024-12-22 21:15:45 +08:00
He-Pin(kerr)
65fc751265
chore: fix some IDEA hints. (#1617) 2024-12-22 20:43:53 +08:00
He-Pin(kerr)
7184dadf4a
chore: Fix flaky test in unsafeOptionalDataVia (#1611) 2024-12-18 10:43:23 +08:00
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