Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Send data to different Kinesis stream #165

Closed
jenishshah671993 opened this issue Dec 4, 2018 · 13 comments
Closed

Send data to different Kinesis stream #165

jenishshah671993 opened this issue Dec 4, 2018 · 13 comments

Comments

@jenishshah671993
Copy link

Hi,
I have JSON data. On the basis of JSON key value I need to send data to different kinesis stream. So can you suggest me if it's possible

@cosmo0920
Copy link
Contributor

It is possible to implement with built-in placeholders, which is the part of brand new Fluentd v1 API, for https://github.com/awslabs/aws-fluent-plugin-kinesis/blob/master/lib/fluent/plugin/out_kinesis_streams.rb#L49
Currently, it is not implemented.

@cosmo0920
Copy link
Contributor

I've registered a PR to fix this issue.
Does anyone want to try out this?

@simukappu
Copy link
Contributor

Thank you for your contributing.
I think we need to separate buffer for each destination streams for plugin durability. What do you think?

@cosmo0920
Copy link
Contributor

@simukappu Fluentd v1 separates buffer for each destination streams:
https://docs.fluentd.org/v1.0/articles/buffer-section#other-keys

With the testing configuration, Fluentd handles buffer per $.key.nested.

@simukappu
Copy link
Contributor

Sounds good. Does anybody have any feedback for this issue or PR?

@amitdhawan
Copy link

Is this done?
I want to use this feature.

@amitdhawan
Copy link

amitdhawan commented Apr 4, 2019

Sounds good. Does anybody have any feedback for this issue or PR?

@simukappu Lets merge it.

@cosmo0920
Copy link
Contributor

@amitdhawan Can #174 patch work under your created AWS kinesis environment?
Testing on a few users are required.

@amitdhawan
Copy link

Should i install this plugin from this branch on my fluentd config? How can i do that, could you please share the steps.I can test that on my AWs environment then.

@amitdhawan
Copy link

Let me know the steps how can install this plugin on Fluentd. I can test it on my environment then.

@cosmo0920
Copy link
Contributor

$ git clone [email protected]:awslabs/aws-fluent-plugin-kinesis.git
$ git fetch origin pull/174/head:pr-174
$ git checkout pr-174
$ gem build fluent-plugin-kinesis.gemspec

And then,

$ td-agent-gem install fluent-plugin-kinesis-*.gem
# Or
$ fluent-gem install fluent-plugin-kinesis-*.gem

@amitdhawan
Copy link

ok..let me give it a shot.

@simukappu simukappu added this to the v3.2.0 milestone Oct 12, 2019
@simukappu
Copy link
Contributor

Released as v3.2.0.
https://rubygems.org/gems/fluent-plugin-kinesis/versions/3.2.0

If you have any feedback, feel free to share with us.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants