Saeid Akbari
Saeid Akbari
Is there any migration plan? it would look better if migration is done section by section as it will not introduce too many changes at once.
Please rescan for CLA to take effect
Sorry for the very late check on this PR. These changes are not backward compatiable. Is it OK to proceed?
Practically yes, OpenTelemetry is a successor of OpenCensus but the minimum Go version required for it is `1.16`.
OK, then I think there isn't any issue to continue this PR. I will make some changes in the next few days.
@vangent Conflict resolved, but this PR only change the server package to OpenTelemetry. I did it with the purpose of not making a big PR with lots of code changes.
@vangent Accessing OpenCensus data is possible through migrating to OpenTelemetry and implementing the bridge but not vice versa. Basically, OpenTelemetry is the future of tracing, metrics and monitoring and migrating...
Mostly third-party libraries are more available and maintained for OpenTelemetry rather than deprecated OpenCensus. Also, this migration is inevitable as the process of migration has to happen sometime. As this...
Fortunately, most packages using OpenCensus in this library have an alternative compatible version in OpenTelemetry. I don't think updating them would be challenging.
For the reference [this](https://github.com/DrmagicE/gmqtt) has a very good implementation of MQTT V5.