Giter Club home page Giter Club logo

Comments (8)

Jeffail avatar Jeffail commented on July 20, 2024

Hey @EdeMeijer, done. 22c185d, I haven't got a TLS enabled server to test against so would be good if you could try it out and get back to me.

from connect.

EdeMeijer avatar EdeMeijer commented on July 20, 2024

Wow, that's fast. I'll let you know when I get around to testing it, thanks.

from connect.

EdeMeijer avatar EdeMeijer commented on July 20, 2024

I got a TLS secured RabbitMQ instance up and can access the management interface over HTTPS, so the certs are configured correctly on the server side. I tried settings up an amqp input with benthos but I'm getting a tls handshake failure. I'll send you an email with the details where you can find the server for testing and what I tried so far, just don't want to share that here.

from connect.

Jeffail avatar Jeffail commented on July 20, 2024

Cool, sounds good, thanks @EdeMeijer

from connect.

EdeMeijer avatar EdeMeijer commented on July 20, 2024

Okay, that was my bad. I had peer verification enabled but not configured. Benthos now happily consumes my test queue.

That raises the question though, is TLS peer verification supported by Benthos? That might be another good thing to test.

from connect.

EdeMeijer avatar EdeMeijer commented on July 20, 2024

Another thing. When using amqp as input, Benthos creates a benthos-exchange exchange and binds it to the configured queue with a benthos-key as routing key. I don't see why this is done, since consuming a queue only requires a queue, and not a bound exchange.

Of course, I could see the benefit in optionally binding your Benthos queue to an existing exchange, but that would require a slightly different approach. Maybe this should be a new issue though.

from connect.

Jeffail avatar Jeffail commented on July 20, 2024

I believe you should be able to do peer verification by exporting your certs and pointing Benthos to them with the tls.cas_file field.

The exchange declaration and binding on the input should be a no-op if they already exist, but you're right that it's redundant. I can't exactly remember why I set it up this way originally but you're right to point it out, it's annoying to have to redundantly specify your exchange fields and binding when they should already exist. I'll take a look.

from connect.

Jeffail avatar Jeffail commented on July 20, 2024

Moving declaration discussion over to #45, would be good to get your thoughts. Closing this issue.

from connect.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.