-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7 from coreywoodfield/pekko
Migrate from akka to pekko
- Loading branch information
Showing
11 changed files
with
34 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,23 @@ | ||
# Akka actor thread context | ||
# Pekko actor thread context | ||
|
||
[![Build Status](https://travis-ci.com/lucidsoftware/akka-thread-context.svg?branch=master)](https://travis-ci.com/lucidsoftware/akka-thread-context) | ||
![Maven Version](https://img.shields.io/maven-central/v/com.lucidchart/akka-actor-thread-context_2.11.svg) | ||
[![Build Status](https://travis-ci.com/lucidsoftware/pekko-thread-context.svg?branch=master)](https://travis-ci.com/lucidsoftware/pekko-thread-context) | ||
![Maven Version](https://img.shields.io/maven-central/v/com.lucidchart/pekko-actor-thread-context_2.13.svg) | ||
|
||
Propagate thread-local values across Akka actors. See | ||
Propagate thread-local values across Pekko actors. See | ||
[java-thread-context](https://github.com/lucidsoftware/java-thread-context). | ||
|
||
Currently works only for local actor systems. | ||
|
||
## Install | ||
|
||
```scala | ||
libraryDependencies += "com.lucidchart" %% "akka-actor-thread-context" % "<version>" | ||
libraryDependencies += "com.lucidchart" %% "pekko-actor-thread-context" % "<version>" | ||
``` | ||
|
||
## Usage | ||
|
||
In the configuration for your actor system, | ||
|
||
```hocon | ||
actor.default-dispatcher.type = com.lucidchart.akka.threadcontext.DefaultDispatcherConfigurator | ||
actor.default-dispatcher.type = com.lucidchart.pekko.threadcontext.DefaultDispatcherConfigurator | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
akka-actor-thread-context/build.sbt → pekko-actor-thread-context/build.sbt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
libraryDependencies ++= Seq( | ||
"com.typesafe.akka" %% "akka-actor" % "2.6.15", | ||
"org.apache.pekko" %% "pekko-actor" % "1.0.2", | ||
"com.lucidchart" % "thread-context" % "0.7" | ||
) | ||
publishTo := sonatypePublishToBundle.value |
4 changes: 2 additions & 2 deletions
4
...hreadcontext/DispatcherConfigurator.scala → ...hreadcontext/DispatcherConfigurator.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...hreadcontext/DispatcherConfigurator.scala → ...hreadcontext/DispatcherConfigurator.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...hreadcontext/DispatcherConfigurator.scala → ...hreadcontext/DispatcherConfigurator.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...ntext/DefaultDispatcherConfigurator.scala → ...ntext/DefaultDispatcherConfigurator.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
sbt.version=1.5.4 | ||
sbt.version=1.8.2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
addSbtPlugin("com.jsuereth" % "sbt-pgp" % "2.0.1") | ||
addSbtPlugin("com.github.sbt" % "sbt-pgp" % "2.2.1") | ||
|
||
addSbtPlugin("com.lucidchart" % "sbt-cross" % "4.0") | ||
|
||
addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "3.9.2") | ||
addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "3.9.18") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#!/bin/bash | ||
|
||
set -x | ||
tag="${GITHUB_REF#refs/tags/}" | ||
targets=($(printf -- "-a %s " */target/*.jar)) | ||
hub release create "${targets[@]}" -m "Release $tag" $tag |