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

Support SDP 1.3 #31

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM docker.elastic.co/logstash/logstash-oss:7.1.1
FROM docker.elastic.co/logstash/logstash-oss:7.15.2
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@chennv4 did you test this docker image and verified it works with tls?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested with letsencrypt TLS enabled cluster and it works fine.


ENV pravega_client_auth_method=Bearer
ENV pravega_client_auth_loadDynamic=true
COPY . /pravega
RUN bin/logstash-plugin install /pravega/logstash-output-pravega-0.6.0.gem
RUN bin/logstash-plugin install /pravega/logstash-output-pravega-0.10.1.gem

6 changes: 3 additions & 3 deletions logstash-output-pravega.gemspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Gem::Specification.new do |s|
s.name = 'logstash-output-pravega'
s.version = '0.9.0'
s.version = '0.10.1'
s.licenses = ['Apache License (2.0)']
s.summary = 'Output events to a Pravega Stream. This uses the Pravega Writer API to write event to a stream on the Pravega'
s.description = 'This gem is a Logstash plugin required to be installed on top of the Logstash core pipeline using $LS_HOME/bin/logstash-plugin install gemname. This gem is not a stand-alone program'
Expand All @@ -16,9 +16,9 @@ Gem::Specification.new do |s|

# Special flag to let us know this is actually a logstash plugin
s.metadata = { "logstash_plugin" => "true", "logstash_group" => "output" }
s.requirements << "jar 'io.pravega:pravega-client', '0.9.0'"
s.requirements << "jar 'io.pravega:pravega-client', '0.10.1'"

s.requirements << "jar 'io.pravega:pravega-keycloak-client', '0.9.0'"
s.requirements << "jar 'io.pravega:pravega-keycloak-client', '0.10.1'"

# Gem dependencies
s.add_runtime_dependency "logstash-core-plugin-api", ">= 1.60", "<= 2.99"
Expand Down
8 changes: 4 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
<artifactId>dummy</artifactId>
<version>0.0.0</version>
<properties>
<keycloak-credentials-version>0.6.0</keycloak-credentials-version>
<pravegaVersion>0.6.0</pravegaVersion>
<keycloak-credentials-version>0.10.1</keycloak-credentials-version>
<pravegaVersion>0.10.1</pravegaVersion>
</properties>
<repositories>
<repository>
Expand Down Expand Up @@ -36,13 +36,13 @@
<dependency>
<groupId>io.pravega</groupId>
<artifactId>pravega-client</artifactId>
<version>0.9.0</version>
<version>${pravegaVersion}</version>
</dependency>

<dependency>
<groupId>io.pravega</groupId>
<artifactId>pravega-keycloak-client</artifactId>
<version>0.9.0</version>
<version>${keycloak-credentials-version}</version>
</dependency>
</dependencies>
</project>