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

Missing configurations for transport type, options, logging, sagas, etc #2

Open
julealgon opened this issue Aug 19, 2021 · 1 comment

Comments

@julealgon
Copy link

Being able to configure the message mapping is good, but it is very barebones. Will other configurations be supported in the future?

For example, we currently rely on 2 different transport types in our environment (AWS SQS and PostgreSQL) and changing between them requires manual code changes to support both branches, by reading the setting from our config file and then using a switch statement to change the bus configuration.

Similarly, we have other settings stored in configuration that we use in the .Options call, again all done manually.

@mookid8000
Copy link
Member

Rebus' configuration is pretty simple in that regard, because it's just code. (and it's always been this way)

I've seen lots of funny ways of mapping XML and/or JSON to configuration builders, but I haven't seen any examples that I thought were elegant.

If you have any ideas on how it could be made so that it would be elegant (preferably short and concise, preferably with little room for errors that cannot be caught before runtime), I'm all ears 🙂

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