chore: kafka note
parent
61332de7d0
commit
5c324d1ff0
|
@ -632,6 +632,22 @@ internal
|
|||
<li><code>Loc</code> to <code>time.UTC</code>.</li>
|
||||
<li><code>CheckConnLiveness</code> to true.</li>
|
||||
</ul>
|
||||
<h3>
|
||||
<a
|
||||
id="user-content-connect-kafka-with-shopifysarama"
|
||||
class="anchor"
|
||||
aria-hidden="true"
|
||||
href="#connect-kafka-with-shopifysarama"
|
||||
><span aria-hidden="true" class="octicon octicon-link"></span></a
|
||||
>Connect Kafka with
|
||||
<a href="https://github.com/Shopify/sarama">Shopify/sarama</a>
|
||||
</h3>
|
||||
<p>
|
||||
Don't use
|
||||
<a href="https://github.com/confluentinc/confluent-kafka-go"
|
||||
>confluentinc/confluent-kafka-go</a
|
||||
>, it's required <code>CGO_ENABLED</code>.
|
||||
</p>
|
||||
<h3>
|
||||
<a
|
||||
id="user-content-if-you-want-test-just-use-stretchrtestify"
|
||||
|
|
|
@ -332,6 +332,10 @@ Remember to config:
|
|||
- `Loc` to `time.UTC`.
|
||||
- `CheckConnLiveness` to true.
|
||||
|
||||
### Connect Kafka with [Shopify/sarama](https://github.com/Shopify/sarama)
|
||||
|
||||
Don't use [confluentinc/confluent-kafka-go](https://github.com/confluentinc/confluent-kafka-go), it's required `CGO_ENABLED`.
|
||||
|
||||
### If you want test, just use [stretchr/testify](https://github.com/stretchr/testify).
|
||||
|
||||
It is easy to write a suite test, thanks to testify.
|
||||
|
|
Loading…
Reference in New Issue