AutoMQ / automq

AutoMQ is a cloud-first alternative to Kafka by decoupling durability to S3 and EBS. 10x cost-effective. Autoscale in seconds. Single-digit ms latency.
https://www.automq.com/docs
Other
3.59k stars 177 forks source link

[Good first issue] Add gradle enforcer plugin to avoid potential dependency conflict issues #1085

Open daniel-y opened 5 months ago

daniel-y commented 5 months ago

Background

AutoMQ may be failed in the runtime environment occasionally, due to dependency conflict issues.

What's our expectation for the issue

Add gradle enforcer plugin to avoid such risks.

How to started

Add this plugin to our build system: https://kordamp.org/enforcer-gradle-plugin/

Reference

Maven also support enforcer plugin, just for reference: https://maven.apache.org/enforcer/maven-enforcer-plugin/index.html

Gezi-lzq commented 5 months ago

assigned to me.

I have configured the enforcer plugin with the DependencyConvergence rule and encountered several version conflict issues, such as:

Dependencies conflict from io.swagger.core.v3:swagger-jaxrs2, including jackson and commonLang. Dependencies conflict related to netty introduced by software.amazon.awssdk:netty-nio-client:2.20.127. Dependencies conflict from com.google.guava:guava:32.0.1-jre, including checker-qual and errorprone.

daniel-y commented 5 months ago

Cool, asigned! @Gezi-lzq

CroWzblooD commented 2 months ago

is it still available? i would like to work on it pls let me know..

daniel-y commented 2 months ago

Hi, it's available, but it's a bit complex since tons of conflict dependencies should be resolved. You can take over this issue or find other good first issues.

And thanks for your interest in AutoMQ.