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
raboof
@raboof:matrix.org
[m]
Josep Prat
@jlprat
that's another way to do backpressure :joy:
raboof
@raboof:matrix.org
[m]
@eyalfa: hmm it seems your account may have been flagged by travis. this might sound crazy, but could you try logging into https://travis-ci.com/ with your github account? if I understand correctly that might lift such a flag. if not we'll contact travis about it :/
eyal farago
@eyalfa
@raboof:matrix.org , trying
Johan Andrén
@johanandren
Sent a mail to travis support asking them if they can un-block somehow
eyal farago
@eyalfa
ditto, emailed them as well
Johan Andrén
@johanandren
@eyalfa I got a mail that they sorted it out now
ennru
@ennru:matrix.org
[m]
We're about to release Alpakka Kafka 2.0.6 which contains some bug fixes and the latest TestContainters updates akka/alpakka-kafka#1294
1 reply
Josep Prat
@jlprat
Not that I need this, but is there any intention of "opening" routers APIs so one could implement their own?
Johan Andrén
@johanandren
Not really
At least my opinion is that it becomes so simple to write your own router given the receptionist, that opening up those internal APIs would tie us down and not help the users much
Also, the routing in classic has so many options it inherently leads to new users thinking routers are the solution to everything, when in reality they really are a small but useful tool out of many.
Josep Prat
@jlprat
I was mostly thinking about the scatter gather first complete
which is I think one of the common of the complex patterns in Routers
Johan Andrén
@johanandren
Tailchopping could be nice as well. But with no implicit sender in typed I think the API could become quite different and maybe not quite a router. Not sure.
Perhaps it could be easier to achieve such an abstraction through the typed pubsub topics
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.