fluent-plugin-azureeventhubs-batched 0.0.8 → 0.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +29 -2
- data/fluent-plugin-azureeventhubs-batched.gemspec +1 -1
- data/lib/fluent/plugin/out_azureeventhubs_buffered.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f36727e48c39eb67469e865e43b44d0d5997583bc51d9fa6ef2dfee1a0eff211
|
4
|
+
data.tar.gz: 5cdd385a291dbd12c9a440dc9a95aa3b9d02cfd9db0a6e6c192a64113a0ea153
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 43151ef704de7b2a9c12d5044779cfa3a9c8d8b53cd5bef82edb348b8d5e8c89776db1f403f89f22d52da50de8ff63d8cdd97ad0a59e1baeaafb6385ad83279d
|
7
|
+
data.tar.gz: d7e32f7eabcf0aa70cffc0d7e04ae0d3beba3760763f5d43bf357f087ea377601e47cae006ff86a62a01f60a6ded7d81187ec5f43c7a95afb240e9e97d601e15
|
data/README.md
CHANGED
@@ -1,13 +1,14 @@
|
|
1
1
|
# Fluent::Plugin::Azureeventhubs
|
2
2
|
|
3
3
|
Azure Event Hubs buffered output plugin for Fluentd.
|
4
|
+
This fork repo is for batch function.
|
4
5
|
|
5
6
|
## Installation
|
6
7
|
|
7
8
|
Add this line to your application's Gemfile:
|
8
9
|
|
9
10
|
```ruby
|
10
|
-
gem 'fluent-plugin-azureeventhubs'
|
11
|
+
gem 'fluent-plugin-azureeventhubs-batched'
|
11
12
|
```
|
12
13
|
|
13
14
|
And then execute:
|
@@ -16,7 +17,7 @@ And then execute:
|
|
16
17
|
|
17
18
|
Or install it yourself as:
|
18
19
|
|
19
|
-
$ gem install fluent-plugin-azureeventhubs
|
20
|
+
$ gem install fluent-plugin-azureeventhubs-batched
|
20
21
|
|
21
22
|
## Configuration
|
22
23
|
|
@@ -42,6 +43,32 @@ Or install it yourself as:
|
|
42
43
|
</match>
|
43
44
|
```
|
44
45
|
|
46
|
+
## Batch mode
|
47
|
+
Change batch format after V0.0.9 to align with Azure Eventhub documents.
|
48
|
+
[Eventhub batch events](https://docs.microsoft.com/en-us/rest/api/eventhub/send-batch-events)
|
49
|
+
|
50
|
+
# Version >= v0.0.9
|
51
|
+
|
52
|
+
```
|
53
|
+
[
|
54
|
+
{ "Body": "msg" },
|
55
|
+
{ "Body": "msg" },
|
56
|
+
...
|
57
|
+
]
|
58
|
+
```
|
59
|
+
|
60
|
+
# Version < v0.0.9
|
61
|
+
```
|
62
|
+
{
|
63
|
+
"records": [
|
64
|
+
{ "Body": "msg" },
|
65
|
+
{ "Body": "msg" },
|
66
|
+
...
|
67
|
+
]
|
68
|
+
}
|
69
|
+
```
|
70
|
+
|
71
|
+
|
45
72
|
## Contributing
|
46
73
|
|
47
74
|
1. Fork it ( https://github.com/[my-github-username]/fluent-plugin-azureeventhubs/fork )
|
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
4
|
|
5
5
|
Gem::Specification.new do |spec|
|
6
6
|
spec.name = "fluent-plugin-azureeventhubs-batched"
|
7
|
-
spec.version = "0.0.
|
7
|
+
spec.version = "0.0.9"
|
8
8
|
spec.authors = ["Hidemasa Togashi", "Toddy Mladenov", "Justin Seely", "Chih Hsiang Hsu"]
|
9
9
|
spec.email = ["togachiro@gmail.com", "toddysm@gmail.com", "s8901489@gmail.com"]
|
10
10
|
spec.summary = "Fluentd output plugin for Azure Event Hubs"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fluent-plugin-azureeventhubs-batched
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Hidemasa Togashi
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2021-04-
|
14
|
+
date: 2021-04-20 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: bundler
|