opensource4you / astraea

釋放kafka的無限潛能
Apache License 2.0
125 stars 45 forks source link

[COMMON] avoid calling URL#hashCode #1783

Closed chia7712 closed 1 year ago

chia7712 commented 1 year ago

from https://docs.oracle.com/javase/8/docs/api/java/net/URL.html#hashCode--

URL#hashCode會嘗試執行 DNS lookup,因此是一個 blocking call,目前在專案內並沒有比較的需求,因此將Set改成List

chia7712 commented 1 year ago

failed test is traced by #1785