Skip to content

Commit

Permalink
Auto cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
blankensteiner committed Jun 19, 2024
1 parent c788463 commit 2e8ff8a
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion benchmarks/Compression/MessageBytes.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ static MessageBytes()
SmallProtobufMessageBytes = new ReadOnlySequence<byte>(smallMessage.ToByteArray());
SmallJsonMessageBytes = new ReadOnlySequence<byte>(Encoding.UTF8.GetBytes(JsonFormatter.Default.Format(smallMessage)));

var largeMessage = CreateMessage(1024*1024); //1MB
var largeMessage = CreateMessage(1024 * 1024); //1MB
LargeProtobufMessageBytes = new ReadOnlySequence<byte>(largeMessage.ToByteArray());
LargeJsonMessageBytes = new ReadOnlySequence<byte>(Encoding.UTF8.GetBytes(JsonFormatter.Default.Format(largeMessage)));
}
Expand Down
2 changes: 1 addition & 1 deletion src/DotPulsar/Internal/ProducerChannelFactory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public ProducerChannelFactory(
ProducerAccessMode producerAccessMode,
SchemaInfo schemaInfo,
ICompressorFactory? compressorFactory,
Dictionary<string,string>? properties)
Dictionary<string, string>? properties)
{
_correlationId = correlationId;
_eventRegister = eventRegister;
Expand Down
3 changes: 0 additions & 3 deletions tests/DotPulsar.Tests/IntegrationFixture.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,6 @@ namespace DotPulsar.Tests;

public class IntegrationFixture : IAsyncLifetime
{
private const string AuthenticationPlugin = "org.apache.pulsar.client.impl.auth.AuthenticationToken";
private const string SecretKeyPath = "/pulsar/secret.key";
private const string UserName = "test-user";
private const int PulsarPort = 6650;
private const int ToxiProxyControlPort = 8474;
private const int ToxiProxyPort = 15124;
Expand Down

0 comments on commit 2e8ff8a

Please sign in to comment.