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

event_hub_connection string can be a environment variable #34

Open
ryanmac8 opened this issue May 6, 2019 · 1 comment
Open

event_hub_connection string can be a environment variable #34

ryanmac8 opened this issue May 6, 2019 · 1 comment

Comments

@ryanmac8
Copy link

ryanmac8 commented May 6, 2019

When using the advance configuration, exception errors are thrown when using environment variables for the event_hub_connection string.

[ERROR] 2019-05-06 13:38:34.818 [Ruby-0-Thread-11: /usr/share/logstash/vendor/bundle/jruby/2.3.0/gems/logstash-input-azure_event_hubs-1.0.4/lib/logstash/inputs/azure_event_hubs.rb:381] azureeventhubs - Event Hub failed during initialization. {:event_hub_name=>"********", :exception=>com.microsoft.azure.eventhubs.IllegalConnectionStringFormatException: Connection String cannot be parsed., :backtrace=>["com.microsoft.azure.eventhubs.ConnectionStringBuilder.parseConnectionString(com/microsoft/azure/eventhubs/ConnectionStringBuilder.java:314)", "com.microsoft.azure.eventhubs.ConnectionStringBuilder.<init>(com/microsoft/azure/eventhubs/ConnectionStringBuilder.java:100)", "com.microsoft.azure.eventprocessorhost.EventProcessorHost.<init>(com/microsoft/azure/eventprocessorhost/EventProcessorHost.java:245)", "com.microsoft.azure.eventprocessorhost.EventProcessorHost.<init>(com/microsoft/azure/eventprocessorhost/EventProcessorHost.java:173)", "com.microsoft.azure.eventprocessorhost.EventProcessorHost.<init>(com/microsoft/azure/eventprocessorhost/EventProcessorHost.java:157)", "com.microsoft.azure.eventprocessorhost.EventProcessorHost.<init>(com/microsoft/azure/eventprocessorhost/EventProcessorHost.java:101)", "java.lang.reflect.Constructor.newInstance(java/lang/reflect/Constructor.java:423)", "org.jruby.javasupport.JavaConstructor.newInstanceDirect(org/jruby/javasupport/JavaConstructor.java:246)", "org.jruby.RubyClass.newInstance(org/jruby/RubyClass.java:1022)", "org.jruby.RubyClass$INVOKER$i$newInstance.call(org/jruby/RubyClass$INVOKER$i$newInstance.gen)", "RUBY.block in run(/usr/share/logstash/vendor/bundle/jruby/2.3.0/gems/logstash-input-azure_event_hubs-1.0.4/lib/logstash/inputs/azure_event_hubs.rb:386)", "org.jruby.RubyProc.call(org/jruby/RubyProc.java:289)", "org.jruby.RubyProc.call(org/jruby/RubyProc.java:246)", "java.lang.Thread.run(java/lang/Thread.java:748)"]}

@ryanmac8 ryanmac8 changed the title event_hub_connection string can event_hub_connection string can be a environment variable May 6, 2019
@lukasmrtvy
Copy link

I have same problem...

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

No branches or pull requests

2 participants