Pigeon 0.0.4-rc.1
See the version list below for details.
dotnet add package Pigeon --version 0.0.4-rc.1
NuGet\Install-Package Pigeon -Version 0.0.4-rc.1
<PackageReference Include="Pigeon" Version="0.0.4-rc.1" />
paket add Pigeon --version 0.0.4-rc.1
#r "nuget: Pigeon, 0.0.4-rc.1"
// Install Pigeon as a Cake Addin #addin nuget:?package=Pigeon&version=0.0.4-rc.1&prerelease // Install Pigeon as a Cake Tool #tool nuget:?package=Pigeon&version=0.0.4-rc.1&prerelease
Pigeon
Pigeon is simple TCP(not SSL/TLS) client that supports part of Fluent forward protocol v1.
Requirements
We test Pigeon for server versions below.
- Fluentd v0.14.8 or higher
- Fluent Bit v1.6.0 or higher
Installation
Install-Package Pigeon
Usage
This is simple example.
// set host name and port number
var config = new new PigeonConfig("127.0.0.1", 24224);
// create client
using var pigeonClient = new PigeonClient(config);
{
const string tag = "pigeon.example";
var data = new Dictionary<string, object>
{
{ "key", "value" }
};
// send single entry data
await pigeonClient.SendAsync(tag, data);
var entries = new List<Entry>
{
new Entry
{
Time = new EventTime(DateTime.Now),
Record = data
}
};
// send multiple entry data
await pigeonClient.SendAsync(tag, entries);
}
And also Pigeon supports all mode.
- Message Mode
- Forward Mode
- PackedForward Mode
- CompressedPackedForward Mode
So, if you want to use specify mode.
// Message Mode
await pigeonClient.SendAsync(new MessageMode(){...});
// Forward Mode
await pigeonClient.SendAsync(new ForwardMode(){...});
// PackedForward Mode
await pigeonClient.SendAsync(new PackedForwardMode(){...});
// CompressedPackedForward Mode
await pigeonClient.SendAsync(new CompressedPackedForwardMode(){...});
Server configuration example
Note: It is just temporary configuration.
Fluentd configuration example
Remember: Fluentd v0.14.8 or higher.
<source>
@type forward
port 24224
</source>
<match **>
@type stdout
</match>
Fluent Bit configuration example
Remember: Fluent Bit v1.6.0 or higher
[INPUT]
Name forward
Listen 0.0.0.0
Port 24224
[OUTPUT]
Name stdout
Match *
Limitations
Serialization
In Record or Option section (i.e. Dictionary<string, object>
type), DateTime
and DateTimeOffset
is serialized to
ISO 8601 style string
(
see Reference)
with default setting.
License
Apache License, Version 2.0
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 is compatible. net5.0-windows was computed. net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp3.1 is compatible. |
-
.NETCoreApp 3.1
- MessagePack (>= 2.0.323)
-
net5.0
- MessagePack (>= 2.0.323)
-
net6.0
- MessagePack (>= 2.0.323)
-
net7.0
- MessagePack (>= 2.0.323)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
0.0.5 | 2,941 | 12/11/2023 |
0.0.5-rc.1 | 74 | 12/11/2023 |
0.0.4 | 737 | 12/14/2022 |
0.0.4-rc.1 | 102 | 12/14/2022 |
0.0.3 | 521 | 3/8/2022 |
0.0.3-rc.1 | 129 | 3/7/2022 |
0.0.2 | 454 | 1/24/2022 |
0.0.1 | 444 | 1/23/2022 |