Paradox: latest 0.5.3, latest theme 0.16, more https (#26522)
This commit is contained in:
parent
91f666f2b7
commit
a181c758c1
10 changed files with 15 additions and 14 deletions
|
|
@ -815,7 +815,7 @@ From JMX you can:
|
||||||
* mark any node in the cluster as down
|
* mark any node in the cluster as down
|
||||||
* tell any node in the cluster to leave
|
* tell any node in the cluster to leave
|
||||||
|
|
||||||
Member nodes are identified by their address, in format *akka.<protocol>://<actor-system-name>@<hostname>:<port>*.
|
Member nodes are identified by their address, in format *akka.**protocol**://**actor-system-name**@**hostname**:**port***.
|
||||||
|
|
||||||
<a id="cluster-command-line"></a>
|
<a id="cluster-command-line"></a>
|
||||||
### Command Line
|
### Command Line
|
||||||
|
|
|
||||||
|
|
@ -783,7 +783,7 @@ data entries, because then the remote message size will be too large.
|
||||||
|
|
||||||
* [Eventually Consistent Data Structures](https://vimeo.com/43903960)
|
* [Eventually Consistent Data Structures](https://vimeo.com/43903960)
|
||||||
talk by Sean Cribbs
|
talk by Sean Cribbs
|
||||||
* [Strong Eventual Consistency and Conflict-free Replicated Data Types (video)](https://www.youtube.com/watch?v=oyUHd894w18&feature=youtu.be)
|
* [Strong Eventual Consistency and Conflict-free Replicated Data Types (video)](https://www.youtube.com/watch?v=oyUHd894w18&feature=youtu.be)
|
||||||
talk by Mark Shapiro
|
talk by Mark Shapiro
|
||||||
* [A comprehensive study of Convergent and Commutative Replicated Data Types](http://hal.upmc.fr/file/index/docid/555588/filename/techreport.pdf)
|
* [A comprehensive study of Convergent and Commutative Replicated Data Types](http://hal.upmc.fr/file/index/docid/555588/filename/techreport.pdf)
|
||||||
paper by Mark Shapiro et. al.
|
paper by Mark Shapiro et. al.
|
||||||
|
|
|
||||||
|
|
@ -110,11 +110,11 @@ In this example, when you need information about a user, you send a request mess
|
||||||
then it gets the corresponding result from the appropriate backend actor based on the request message type.
|
then it gets the corresponding result from the appropriate backend actor based on the request message type.
|
||||||
|
|
||||||
<p align="center">
|
<p align="center">
|
||||||
<img src="images/futures-pipeto1.png">
|
<img src="images/futures-pipeto1.png"/>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p align="center">
|
<p align="center">
|
||||||
<img src="images/futures-pipeto2.png">
|
<img src="images/futures-pipeto2.png"/>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
The message types you send to `UserProxyActor` are `GetUserData` and `GetUserActivities`:
|
The message types you send to `UserProxyActor` are `GetUserData` and `GetUserActivities`:
|
||||||
|
|
|
||||||
|
|
@ -34,7 +34,7 @@ In the Hello World example, we have already seen how `system.actorOf()`, creates
|
||||||
_user defined_ hierarchy. You typically have only one (or very few) top level actors in your `ActorSystem`.
|
_user defined_ hierarchy. You typically have only one (or very few) top level actors in your `ActorSystem`.
|
||||||
We create child, or non-top-level, actors by invoking `context.actorOf()` from an existing actor. The `context.actorOf()` method has a signature identical to `system.actorOf()`, its top-level counterpart.
|
We create child, or non-top-level, actors by invoking `context.actorOf()` from an existing actor. The `context.actorOf()` method has a signature identical to `system.actorOf()`, its top-level counterpart.
|
||||||
|
|
||||||
The easiest way to see the actor hierarchy in action is to print `ActorRef` instances. In this small experiment, we create an actor, print its reference, create a child of this actor, and print the child's reference. We start with the Hello World project, if you have not downloaded it, download the Quickstart project from the @scala[[Lightbend Tech Hub](http://developer.lightbend.com/start/?group=akka&project=akka-quickstart-scala)]@java[[Lightbend Tech Hub](http://developer.lightbend.com/start/?group=akka&project=akka-quickstart-java)].
|
The easiest way to see the actor hierarchy in action is to print `ActorRef` instances. In this small experiment, we create an actor, print its reference, create a child of this actor, and print the child's reference. We start with the Hello World project, if you have not downloaded it, download the Quickstart project from the @scala[[Lightbend Tech Hub](http://developer.lightbend.com/start/?group=akka&project=akka-quickstart-scala)]@java[[Lightbend Tech Hub](http://developer.lightbend.com/start/?group=akka&project=akka-quickstart-java)].
|
||||||
|
|
||||||
|
|
||||||
In your Hello World project, navigate to the `com.example` package and create a new @scala[Scala file called `ActorHierarchyExperiments.scala`]@java[Java file called `ActorHierarchyExperiments.java`] here. Copy and paste the code from the snippet below to this new source file. Save your file and run `sbt "runMain com.example.ActorHierarchyExperiments"` to observe the output.
|
In your Hello World project, navigate to the `com.example` package and create a new @scala[Scala file called `ActorHierarchyExperiments.scala`]@java[Java file called `ActorHierarchyExperiments.java`] here. Copy and paste the code from the snippet below to this new source file. Save your file and run `sbt "runMain com.example.ActorHierarchyExperiments"` to observe the output.
|
||||||
|
|
|
||||||
|
|
@ -42,7 +42,7 @@ In fact, before you create an actor in your code, Akka has already created three
|
||||||
you, it has nothing to do with end users, nor with user handling. Every actor you create using the Akka library will have the constant path `/user/` prepended to it.
|
you, it has nothing to do with end users, nor with user handling. Every actor you create using the Akka library will have the constant path `/user/` prepended to it.
|
||||||
- `/system` the _system guardian_. Akka or other libraries built on top of Akka may create actors in the _system_ namespace.
|
- `/system` the _system guardian_. Akka or other libraries built on top of Akka may create actors in the _system_ namespace.
|
||||||
|
|
||||||
The easiest way to see the actor hierarchy in action is to print `ActorRef` instances. In this small experiment, we create an actor, print its reference, create a child of this actor, and print the child's reference. We start with the Hello World project, if you have not downloaded it, download the Quickstart project from the @scala[[Lightbend Tech Hub](http://developer.lightbend.com/start/?group=akka&project=akka-quickstart-scala)]@java[[Lightbend Tech Hub](http://developer.lightbend.com/start/?group=akka&project=akka-quickstart-java)].
|
The easiest way to see the actor hierarchy in action is to print `ActorRef` instances. In this small experiment, we create an actor, print its reference, create a child of this actor, and print the child's reference. We start with the Hello World project, if you have not downloaded it, download the Quickstart project from the @scala[[Lightbend Tech Hub](http://developer.lightbend.com/start/?group=akka&project=akka-quickstart-scala)]@java[[Lightbend Tech Hub](http://developer.lightbend.com/start/?group=akka&project=akka-quickstart-java)].
|
||||||
|
|
||||||
FIXME update link to Quickstart to the Typed version, when it's ready, issue https://github.com/akka/akka/issues/25997
|
FIXME update link to Quickstart to the Typed version, when it's ready, issue https://github.com/akka/akka/issues/25997
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -235,8 +235,8 @@ lazy val docs = akkaModule("akka-docs")
|
||||||
.settings(Dependencies.docs)
|
.settings(Dependencies.docs)
|
||||||
.settings(
|
.settings(
|
||||||
name in (Compile, paradox) := "Akka",
|
name in (Compile, paradox) := "Akka",
|
||||||
paradoxProperties ++= Map(
|
Compile / paradoxProperties ++= Map(
|
||||||
"akka.canonical.base_url" -> "https://doc.akka.io/docs/akka/current",
|
"canonical.base_url" -> "https://doc.akka.io/docs/akka/current",
|
||||||
"github.base_url" -> GitHub.url(version.value), // for links like this: @github[#1](#1) or @github[83986f9](83986f9)
|
"github.base_url" -> GitHub.url(version.value), // for links like this: @github[#1](#1) or @github[83986f9](83986f9)
|
||||||
"extref.akka.http.base_url" -> "https://doc.akka.io/docs/akka-http/current/%s",
|
"extref.akka.http.base_url" -> "https://doc.akka.io/docs/akka-http/current/%s",
|
||||||
"extref.wikipedia.base_url" -> "https://en.wikipedia.org/wiki/%s",
|
"extref.wikipedia.base_url" -> "https://en.wikipedia.org/wiki/%s",
|
||||||
|
|
@ -259,7 +259,7 @@ lazy val docs = akkaModule("akka-docs")
|
||||||
"fiddle.code.base_dir" -> (sourceDirectory in Test).value.getAbsolutePath,
|
"fiddle.code.base_dir" -> (sourceDirectory in Test).value.getAbsolutePath,
|
||||||
"fiddle.akka.base_dir" -> (baseDirectory in ThisBuild).value.getAbsolutePath,
|
"fiddle.akka.base_dir" -> (baseDirectory in ThisBuild).value.getAbsolutePath,
|
||||||
),
|
),
|
||||||
paradoxGroups := Map("Language" -> Seq("Scala", "Java")),
|
Compile / paradoxGroups := Map("Language" -> Seq("Scala", "Java")),
|
||||||
resolvers += Resolver.jcenterRepo,
|
resolvers += Resolver.jcenterRepo,
|
||||||
deployRsyncArtifact := List((paradox in Compile).value -> s"www/docs/akka/${version.value}")
|
deployRsyncArtifact := List((paradox in Compile).value -> s"www/docs/akka/${version.value}")
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -139,9 +139,9 @@ object AkkaBuild {
|
||||||
ivyLoggingLevel in ThisBuild := UpdateLogging.Quiet,
|
ivyLoggingLevel in ThisBuild := UpdateLogging.Quiet,
|
||||||
|
|
||||||
licenses := Seq(("Apache License, Version 2.0", url("http://www.apache.org/licenses/LICENSE-2.0"))),
|
licenses := Seq(("Apache License, Version 2.0", url("http://www.apache.org/licenses/LICENSE-2.0"))),
|
||||||
homepage := Some(url("http://akka.io/")),
|
homepage := Some(url("https://akka.io/")),
|
||||||
|
|
||||||
apiURL := Some(url(s"http://doc.akka.io/api/akka/${version.value}")),
|
apiURL := Some(url(s"https://doc.akka.io/api/akka/${version.value}")),
|
||||||
|
|
||||||
initialCommands :=
|
initialCommands :=
|
||||||
"""|import language.postfixOps
|
"""|import language.postfixOps
|
||||||
|
|
|
||||||
|
|
@ -17,6 +17,6 @@ object GitHub {
|
||||||
|
|
||||||
def url(v: String): String = {
|
def url(v: String): String = {
|
||||||
val branch = if (v.endsWith("SNAPSHOT")) "master" else "v" + v
|
val branch = if (v.endsWith("SNAPSHOT")) "master" else "v" + v
|
||||||
"http://github.com/akka/akka/tree/" + branch
|
"https://github.com/akka/akka/tree/" + branch
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,7 @@ object Publish extends AutoPlugin {
|
||||||
publishTo := akkaPublishTo.value,
|
publishTo := akkaPublishTo.value,
|
||||||
credentials ++= akkaCredentials,
|
credentials ++= akkaCredentials,
|
||||||
organizationName := "Lightbend Inc.",
|
organizationName := "Lightbend Inc.",
|
||||||
organizationHomepage := Some(url("http://www.lightbend.com")),
|
organizationHomepage := Some(url("https://www.lightbend.com")),
|
||||||
publishMavenStyle := true,
|
publishMavenStyle := true,
|
||||||
pomIncludeRepository := { x => false },
|
pomIncludeRepository := { x => false },
|
||||||
defaultPublishTo := crossTarget.value / "repository")
|
defaultPublishTo := crossTarget.value / "repository")
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,8 @@ addSbtPlugin("pl.project13.scala" % "sbt-jmh" % "0.3.4")
|
||||||
addSbtPlugin("com.typesafe.sbt" % "sbt-native-packager" % "1.3.15")
|
addSbtPlugin("com.typesafe.sbt" % "sbt-native-packager" % "1.3.15")
|
||||||
addSbtPlugin("io.spray" % "sbt-boilerplate" % "0.6.1")
|
addSbtPlugin("io.spray" % "sbt-boilerplate" % "0.6.1")
|
||||||
addSbtPlugin("com.timushev.sbt" % "sbt-updates" % "0.3.4")
|
addSbtPlugin("com.timushev.sbt" % "sbt-updates" % "0.3.4")
|
||||||
addSbtPlugin("com.lightbend.akka" % "sbt-paradox-akka" % "0.14")
|
addSbtPlugin("com.lightbend.paradox" % "sbt-paradox" % "0.5.3")
|
||||||
|
addSbtPlugin("com.lightbend.akka" % "sbt-paradox-akka" % "0.16")
|
||||||
addSbtPlugin("com.lightbend" % "sbt-whitesource" % "0.1.13")
|
addSbtPlugin("com.lightbend" % "sbt-whitesource" % "0.1.13")
|
||||||
addSbtPlugin("com.typesafe.sbt" % "sbt-git" % "1.0.0")
|
addSbtPlugin("com.typesafe.sbt" % "sbt-git" % "1.0.0")
|
||||||
addSbtPlugin("de.heikoseeberger" % "sbt-header" % "5.0.0") // for maintenance of copyright file header
|
addSbtPlugin("de.heikoseeberger" % "sbt-header" % "5.0.0") // for maintenance of copyright file header
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue