Skip to content
This repository has been archived by the owner on Jan 24, 2023. It is now read-only.

Commit

Permalink
Merge pull request #232 from Arkatufus/master
Browse files Browse the repository at this point in the history
0.6.2 Release
  • Loading branch information
Aaronontheweb authored Sep 17, 2021
2 parents 479cf34 + 9476048 commit 89c792b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
4 changes: 4 additions & 0 deletions RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
#### 0.6.2 September 17 2021 ###
* [Make internal ActorSystem more lightweight by using default executor](https://github.com/petabridge/Petabridge.Tracing.Zipkin/pull/230)
* [Update Confluent.Kafka to 1.8.0](https://github.com/petabridge/Petabridge.Tracing.Zipkin/pull/229)

#### 0.6.1 September 10 2021 ###
* Upgraded to [Akka.NET 1.4.25](https://github.com/akkadotnet/akka.net/releases/tag/1.4.25)
* [Update Confluent.Kafka to 1.7.0](https://github.com/petabridge/Petabridge.Tracing.Zipkin/pull/209)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

<ItemGroup>
<PackageReference Include="Akka" Version="$(AkkaVersion)" />
<PackageReference Include="Confluent.Kafka" Version="1.7.0" />
<PackageReference Include="Confluent.Kafka" Version="1.8.0" />
<PackageReference Include="Microsoft.IO.RecyclableMemoryStream" Version="2.1.3" />
<PackageReference Include="OpenTracing" Version="0.12.1" />
<PackageReference Include="Phobos.Actor.Common" Version="1.1.1" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ public sealed class ZipkinHttpSpanReporter : ISpanReporter
{
private static readonly AtomicCounter NameCounter = new AtomicCounter(0);

private static readonly Config NormalHocon = ConfigurationFactory.Empty;
private static readonly Config NormalHocon = ConfigurationFactory
.ParseString(@"akka.actor.internal-dispatcher.executor = ""default-executor""");
private static readonly Config DebugHocon = ConfigurationFactory.ParseString(@"akka.loglevel = DEBUG");
private readonly ActorSystem _ownedActorSystem; // if we own the ActorSystem, we have to kill it.
private readonly IActorRef _reporterActorRef;
Expand Down Expand Up @@ -63,7 +64,7 @@ public static ZipkinHttpSpanReporter Create(ZipkinHttpReportingOptions options,
{
weOwnActorSystem = true;
actorSystem = ActorSystem.Create("pbzipkin",
options.DebugLogging ? DebugHocon : NormalHocon);
options.DebugLogging ? DebugHocon.WithFallback(NormalHocon) : NormalHocon);
}

// spawn as a System actor, so in the event of being in a non-owned system our traces get shut down
Expand Down

0 comments on commit 89c792b

Please sign in to comment.