sk-fluent-plugin-azureeventhubs 0.0.15 → 0.0.16

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f5405c82885980bfed2afba4fc69c56756902545130f84861e48bd93312f0535
4
- data.tar.gz: dadb5eed8f6a94c47be4bc380b8230f23da9fc0a806daf428a60171f8714998c
3
+ metadata.gz: 3819d43eaf63a928a42b3f61a80d7b37fefa16e9010af94c903b0ea18f89dfdc
4
+ data.tar.gz: '022194cb4e46221e0ecaca42a6319d34eff1c5ae94343fc9967a6a17103fcbee'
5
5
  SHA512:
6
- metadata.gz: 17779dd64e6a5233ad08b87637327fb0e72a4324e4fac7e2f2d9e6a16f4bcea431398d31035e427fd788d18f49e3326b6df678ef91ea2148bfb77d7d51d42470
7
- data.tar.gz: 3de56bc3dceb71a2dc8fc337f429f798e306ecba8959a190c1bfd2aa947f96256f19f15377057996d5734d31eb78ed75847792f35499b7a5367d620156ef8305
6
+ metadata.gz: b3fb80437e3647aec7b143be2b9d8be7a95f98c97dec2991cb3bff31c7d4de532ad1d952145b6e0226e014b91d9770f961b803cd07d79f71194f8712df71c940
7
+ data.tar.gz: 12cb4ca72551ee6b1edee3ff5cc781d2cf12716aceee91893d30b020b5ff95de4e0a052c8b57cdcd70cc33e46a377f3cc825b315b147c08263c2153dc0b6ec09
data/README.md CHANGED
@@ -2,6 +2,7 @@
2
2
 
3
3
  [![Build Status](https://travis-ci.com/sio2k/async-fluent-plugin-azureeventhubs-.svg?branch=master)](https://travis-ci.com/sio2k/async-fluent-plugin-azureeventhubs-)
4
4
  [![Known Vulnerabilities](https://snyk.io/test/github/sio2k/async-fluent-plugin-azureeventhubs/badge.svg?targetFile=Gemfile.lock)](https://snyk.io/test/github/sio2k/async-fluent-plugin-azureeventhubs?targetFile=Gemfile.lock)
5
+ [![Gem Downloads](https://img.shields.io/gem/dt/sk-fluent-plugin-azureeventhubs.svg)](https://rubygems.org/gems/sk-fluent-plugin-azureeventhubs)
5
6
  [![MIT licensed](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/sio2k/async-fluent-plugin-azureeventhubs-/blob/master/LICENSE)
6
7
  Inspired by https://github.com/htgc/fluent-plugin-azureeventhubs
7
8
 
@@ -15,7 +15,7 @@ Gem::Specification.new do |spec|
15
15
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
16
16
  spec.require_paths = ["lib"]
17
17
  spec.name = "sk-fluent-plugin-azureeventhubs"
18
- spec.version = "0.0.15"
18
+ spec.version = "0.0.16"
19
19
  spec.required_ruby_version = ">= 2.1.0"
20
20
 
21
21
  spec.add_development_dependency "bundler", "~> 1.7"
@@ -1,3 +1,8 @@
1
+ require "fluent/plugin/output"
2
+ require 'fluent/output'
3
+ require 'fluent/output_chain'
4
+ require 'fluent/plugin/buffer'
5
+
1
6
  module Fluent::Plugin
2
7
 
3
8
  class AzureEventHubsOutputBuffered < Fluent::BufferedOutput
@@ -25,6 +30,22 @@ module Fluent::Plugin
25
30
  config_set_default :chunk_keys, ['tag']
26
31
  end
27
32
 
33
+ def initialize
34
+ super
35
+ end
36
+
37
+ def start
38
+ super
39
+ end
40
+
41
+ def shutdown
42
+ super
43
+ end
44
+
45
+ def prefer_buffered_processing
46
+ true
47
+ end
48
+
28
49
  def configure(conf)
29
50
  compat_parameters_convert(conf, :buffer, :inject)
30
51
  super
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sk-fluent-plugin-azureeventhubs
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.15
4
+ version: 0.0.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sandeep Kotha