Replies: 6 comments 25 replies
-
I suggest that the relevant configurations inside DefaultServerCapabilities can be written to the configuration file, such as MaximumClientWritesPending. When the number of connections reaches a certain level, these parameters have a significant impact on memory. By placing them in the configuration file, users can fine-tune these parameters according to their specific scenarios. |
Beta Was this translation helpful? Give feedback.
-
I have added a working version, albeit not a feature complete implementation, of file based configuration here. here are some of the key choices I made and would love any considerations.
here is an example of the |
Beta Was this translation helpful? Give feedback.
-
I've added some thoughts in #285 about how this could be designed to configure hooks 👍🏻 |
Beta Was this translation helpful? Give feedback.
-
@mochi-co What is your opinion on hosting an |
Beta Was this translation helpful? Give feedback.
-
@dgduncan Absolutely - I think this is a must have. |
Beta Was this translation helpful? Give feedback.
-
@mochi-co Would you like to create an official |
Beta Was this translation helpful? Give feedback.
-
Wanted to start a new thread as to not clutter up the roadmap discussion.
I have implemented a completely barebones implementation of file based config using a yml file and a flag passed in when running
main.go
here. I have some questions that I would love to get everyones opinion on so I know where to go from here:Architecture:
mqtt.Options
struct or simply tag the current struct?config
orconfiguration
where a user of the library can choose to use the functionality from the package or should it be integrated into theserver
directly.Dockerfile
to include a env/flag so when running the defaultDockerfile
a user can simply include a filepath or filename?Features:
I want to know what everyone thinks is mandatory to make this useful, and a nice to have. Here are my opinions but I want to know more.
Mandatory:
Options
looks like when creating a server`)Useful:
Nice to have
Please feel free mention anything else and give ideas!
Hooks
Listeners
Servers
Beta Was this translation helpful? Give feedback.
All reactions