Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Oct 26 2020 07:39
    patriknw labeled #29767
  • Oct 26 2020 07:39
    patriknw labeled #29767
  • Oct 26 2020 07:39
    patriknw labeled #29767
  • Oct 26 2020 07:39
    patriknw labeled #29767
  • Oct 26 2020 07:38
    patriknw commented #29767
  • Oct 26 2020 07:07
    patriknw commented #29765
  • Oct 26 2020 06:56
    patriknw commented #25468
  • Oct 25 2020 16:21
    nitikagarw commented #25468
  • Oct 24 2020 21:20
    akka-ci commented #29672
  • Oct 24 2020 21:05
    dope9967 commented #29672
  • Oct 24 2020 21:03
    akka-ci commented #29672
  • Oct 24 2020 21:03
    akka-ci unlabeled #29672
  • Oct 24 2020 21:03
    akka-ci labeled #29672
  • Oct 24 2020 20:44
    dope9967 synchronize #29672
  • Oct 24 2020 20:31
    akka-ci unlabeled #29672
  • Oct 24 2020 20:31
    akka-ci labeled #29672
  • Oct 24 2020 20:26
    dope9967 synchronize #29672
  • Oct 23 2020 16:16
    ennru demilestoned #24444
  • Oct 23 2020 16:16
    ennru reopened #24444
  • Oct 23 2020 16:16
    ennru commented #24444
Johan Andrén
@johanandren
Or, well at least the broadcast to all at once, ignore responses except for first
Tailchop would need to know the actual subscribers, but topic only keeps track of zero or one+ subscribers, so there is no, send to one, then send to another one etc
Josep Prat
@jlprat
with Scatter Gather you don't have this problem, so it might be implementable true
I guess with enough time, we could have a page on the docs that "translate" useful classic pattern to typed ones
Johan Andrén
@johanandren
I guess just combining ask with topic would give you the first reply
I think such would fit fine under the "interaction patterns" section already now, even without necessarily thinking about how it was done in classic
And then maybe crosslink/mention in the “Learning Akka Typed from Classic"
Josep Prat
@jlprat
:+1:
Johan Andrén
@johanandren
Given that it is possible to achieve, that is :)
Josep Prat
@jlprat
maybe it's me that I'd love to see the Akka Docs as a book, "à la Rust"
Johan Andrén
@johanandren
Josep Prat
@jlprat
you are right
and scatter gather first completed is not much different from the previous example on that page
Johan Andrén
@johanandren
:clap: our work here is done ;)
Josep Prat
@jlprat
:party:
Maybe I can create an issue to add a Scatter Gather example in that page
Johan Andrén
@johanandren
Sounds good!
Josep Prat
@jlprat
done
Johan Andrén
@johanandren
:+1:
raboof
@raboof:matrix.org
[m]
xmas come early 😀
Nitika Agarwal
@nitikagarw
Hi team,
I have recently started contributing to akka/akka repo and need some help with local development.
Do we have any tips/tricks to get the tests working from IntelliJ IDEA?
@raboof:matrix.org Did share a link to some notes((https://github.com/akka/akka/pull/29868/files) but then I have more errors/warnings.
If not via IntelliJ, It would be great if I could get some help to run the scala App via terminal(might be a naive question, apologies, new to sbt)
For more context, I am working on akka/akka#29913
Patrik Nordwall
@patriknw
@nitikagarw i think most of us use sbt to run tests. testOnly <full pkg and class name> or with wildcards testOnly *.Foo
To run App or main class you can use runMain <class name> or test:runMain
Nitika Agarwal
@nitikagarw
Hi @patriknw Thanks for replying, not sure if I got it correct. I tried like below but I could not see anything printing on console from my test case. I do have a very simple System.out.println("hello akka!"); as the first line inside the main function.
sbt:akka-docs> testOnly jdocs.stream.operators.sourceorflow.MapError
[info] Strategy 'discard' was applied to 2 files (Run the task at debug level to see details)
[info] Assembly up to date: /Users/nitika/akka/akka-protobuf-v3/target/scala-2.12/akka-protobuf-v3-assembly-2.6.10+109-acf1e4c7+20201225-2307.jar
[info] ScalaTest
[info] Run completed in 13 milliseconds.
[info] Total number of tests run: 0
[info] Suites: completed 0, aborted 0
[info] Tests: succeeded 0, failed 0, canceled 0, ignored 0, pending 0
[info] No tests were executed.
[info] Passed: Total 0, Failed 0, Errors 0, Passed 0
[info] No tests to run for Test / testOnly
[success] Total time: 8 s, completed 25 Dec, 2020 11:13:47 PM
package jdocs.stream.operators.sourceorflow;

import akka.actor.ActorSystem;

public class MapError {

  public static void main(String[] args) {

    // #map-error

    final ActorSystem system = ActorSystem.create("mapError-operator-example");
    System.out.println("hello akka!");
  }
}
Patrik Nordwall
@patriknw
That is a main class, not a test. Try test:runMain instead.
Nitika Agarwal
@nitikagarw
Thanks a lot @patriknw ! It works.
Team, please review: akka/akka#29913
Nader Ghanbari
@naderghanbari
Hi all and happy 2021. I have a question regarding akka docs. How are the images in https://doc.akka.io/docs/akka/current/typed/interaction-patterns.html generated? I'd like to create one that looks consistent but don't know how.
raboof
@raboof:matrix.org
[m]
looks like @patriknw made those - perhaps with keynote?
Johan Andrén
@johanandren
Yeah, pretty sure they’re made with keynote on MacOS. We don’t have a good cross platform strategy, so keeping diagrams consistent is best effort I’m afraid.
If you are on MacOS I think we can share a template keynote doc to start from/copy paste shapes colours etc.
1 reply
Patrik Nordwall
@patriknw
New Akka team plan akka/akka-meta#147
Nitika Agarwal
@nitikagarw
Hi team, Please review: akka/akka#29913
Johan Andrén
@johanandren
FYI @nitikagarw a second improvement on top of your "include name in graphstage logic toString” that adds a source location, file and line, for operators that takes a lambda parameter got merged yesterday: akka/akka#29935
1 reply
@naderghanbari here you go (couldn’t drop file in gitter thread for some reason)
kerr
@hepin1989
@johanandren cool, thanks for sharing
kerr
@hepin1989
kerr
@hepin1989
Orleans just add this, seems interesting https://github.com/dotnet/orleans/releases/tag/v3.4.0
Patrik Nordwall
@patriknw
Thanks for sharing. I’m very aware of lifeguard, but not enough problems reported with current Akka Cluster and many other things have higher priority.
Johan Andrén
@johanandren
Akka HTTP 10.2.3 release in progress
kerr
@hepin1989
https://doc.akka.io/docs/akka/current/persistence-journals.html
Is well designed and can be implemented on lindorm(https://help.aliyun.com/product/172543.html
)'s internal stream model.
Seems I can take advantage of the storage if it supports row-level TTL.
2 replies
Johan Andrén
@johanandren
Nitika Agarwal
@nitikagarw
Hi team,
I am working on akka/akka-http#2648 and I need a little help here: https://github.com/akka/akka-http/pull/3739#issuecomment-762349807
Nitika Agarwal
@nitikagarw
PR for updating current year in CopyrightHeader: akka/akka-http#3750