We are building out a logstash transformation process and would love to be able to run integration tests against it locally using the google cloud pubsub emulator.
Here's a first pass at allowing the emulator configuration so we can get the conversation started. I've used the locally built gem to prove that things are working as you'd expect against a real emulator, and run a transformation process on it. I'd definitely like your feedback on how you'd like the config properties to work (and how they should be named).
I'm by no means a ruby pro, but because of how jruby loads java classes (doesn't load io package), I at least felt it was important to prove that we can create a client pointed at an emulator url in the client tests.
…r testing
We are building out a logstash transformation process and would love to be able to run integration tests against it locally using the google cloud pubsub emulator.
Here's a first pass at allowing the emulator configuration so we can get the conversation started. I've used the locally built gem to prove that things are working as you'd expect against a real emulator, and run a transformation process on it. I'd definitely like your feedback on how you'd like the config properties to work (and how they should be named).
I'm by no means a ruby pro, but because of how jruby loads java classes (doesn't load io package), I at least felt it was important to prove that we can create a client pointed at an emulator url in the client tests.
Thanks for taking a look!