Closed exoego closed 1 year ago
I've searched our internal repo and found a lot of setHeader(Multimap) usage. So 2 looks better.
Thanks. I'll take a look
ok. Basically LGTM. @exoego Only one suggestion to use a normal method name without any version suffix https://github.com/treasure-data/td-client-java/pull/217/files#r1119311242
Part of #135
This is the final Guava deprecation and removal. After this PR and a new minor version cut, I think we could delete the deprecated one and guava dependency.
The problem is
Multimap<K, V>
. How should we remove it? Possible directions:Map<K, Collection<V>>
and introduce breaking change aggressively.Map<K, Col<V>>
and deprecate the old methods withMuiltimap
.TDClientConfig#headers
andTDApiRequest#getHeaderParams()
. See new members~V2
.I propose picking 2nd since it helps users to migrate. WDYT?