go: ibm/sarama
parent
798721bff5
commit
c5618afa1c
|
@ -575,8 +575,7 @@ internal
|
||||||
But <code>database/sql</code> has its own limit. For example, it is hard
|
But <code>database/sql</code> has its own limit. For example, it is hard
|
||||||
to get primary key after insert/update. So may be you want to use ORM for
|
to get primary key after insert/update. So may be you want to use ORM for
|
||||||
those cases. I hear that
|
those cases. I hear that
|
||||||
<a href="https://github.com/go-gorm/gorm">go-gorm/gorm</a>,
|
<a href="https://github.com/go-gorm/gorm">go-gorm/gorm</a> is good.
|
||||||
<a href="https://github.com/ent/ent">ent/ent</a> is good.
|
|
||||||
</p>
|
</p>
|
||||||
<h3>
|
<h3>
|
||||||
<a
|
<a
|
||||||
|
@ -697,15 +696,18 @@ internal
|
||||||
</p>
|
</p>
|
||||||
<h3>
|
<h3>
|
||||||
<a
|
<a
|
||||||
id="user-content-connect-kafka-with-shopifysarama"
|
id="user-content-connect-kafka-with-ibmsarama"
|
||||||
class="anchor"
|
class="anchor"
|
||||||
aria-hidden="true"
|
aria-hidden="true"
|
||||||
tabindex="-1"
|
tabindex="-1"
|
||||||
href="#connect-kafka-with-shopifysarama"
|
href="#connect-kafka-with-ibmsarama"
|
||||||
><span aria-hidden="true" class="octicon octicon-link"></span></a
|
><span aria-hidden="true" class="octicon octicon-link"></span></a
|
||||||
>Connect Kafka with
|
>Connect Kafka with <a href="https://github.com/IBM/sarama">IBM/sarama</a>
|
||||||
<a href="https://github.com/Shopify/sarama">Shopify/sarama</a>
|
|
||||||
</h3>
|
</h3>
|
||||||
|
<p>
|
||||||
|
Use <code>sarama.V1_0_0_0</code>, because IBM decide to upgrade default
|
||||||
|
version.
|
||||||
|
</p>
|
||||||
<p>
|
<p>
|
||||||
Don't use
|
Don't use
|
||||||
<a href="https://github.com/confluentinc/confluent-kafka-go"
|
<a href="https://github.com/confluentinc/confluent-kafka-go"
|
||||||
|
@ -947,6 +949,11 @@ fieldalignment -fix ./internal/business/<span class="pl-k">*</span>.go</pre>
|
||||||
>Making SQLite faster in Go</a
|
>Making SQLite faster in Go</a
|
||||||
>
|
>
|
||||||
</li>
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="https://encore.dev/blog/advanced-go-concurrency" rel="nofollow"
|
||||||
|
>Advanced Go Concurrency</a
|
||||||
|
>
|
||||||
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
|
|
|
@ -303,8 +303,7 @@ connection to cached it, not create it every time we need it.
|
||||||
|
|
||||||
But `database/sql` has its own limit. For example, it is hard to get primary key
|
But `database/sql` has its own limit. For example, it is hard to get primary key
|
||||||
after insert/update. So may be you want to use ORM for those cases. I hear that
|
after insert/update. So may be you want to use ORM for those cases. I hear that
|
||||||
[go-gorm/gorm](https://github.com/go-gorm/gorm),
|
[go-gorm/gorm](https://github.com/go-gorm/gorm) is good.
|
||||||
[ent/ent](https://github.com/ent/ent) is good.
|
|
||||||
|
|
||||||
### Connect Redis with [redis/go-redis](https://github.com/redis/go-redis)
|
### Connect Redis with [redis/go-redis](https://github.com/redis/go-redis)
|
||||||
|
|
||||||
|
@ -378,7 +377,9 @@ Remember to config:
|
||||||
Don't use [mattn/go-sqlite3](https://github.com/mattn/go-sqlite3), it's required
|
Don't use [mattn/go-sqlite3](https://github.com/mattn/go-sqlite3), it's required
|
||||||
`CGO_ENABLED`.
|
`CGO_ENABLED`.
|
||||||
|
|
||||||
### Connect Kafka with [Shopify/sarama](https://github.com/Shopify/sarama)
|
### Connect Kafka with [IBM/sarama](https://github.com/IBM/sarama)
|
||||||
|
|
||||||
|
Use `sarama.V1_0_0_0`, because IBM decide to upgrade default version.
|
||||||
|
|
||||||
Don't use
|
Don't use
|
||||||
[confluentinc/confluent-kafka-go](https://github.com/confluentinc/confluent-kafka-go),
|
[confluentinc/confluent-kafka-go](https://github.com/confluentinc/confluent-kafka-go),
|
||||||
|
@ -484,3 +485,4 @@ go clean -cache -testcache -modcache -fuzzcache -x
|
||||||
- [Prevent Logging Secrets in Go by Using Custom Types](https://www.commonfate.io/blog/prevent-logging-secrets-in-go-by-using-custom-types)
|
- [Prevent Logging Secrets in Go by Using Custom Types](https://www.commonfate.io/blog/prevent-logging-secrets-in-go-by-using-custom-types)
|
||||||
- [Speed Up GoMock with Conditional Generation](https://jonwillia.ms/2019/12/22/conditional-gomock-mockgen)
|
- [Speed Up GoMock with Conditional Generation](https://jonwillia.ms/2019/12/22/conditional-gomock-mockgen)
|
||||||
- [Making SQLite faster in Go](https://turriate.com/articles/making-sqlite-faster-in-go)
|
- [Making SQLite faster in Go](https://turriate.com/articles/making-sqlite-faster-in-go)
|
||||||
|
- [Advanced Go Concurrency](https://encore.dev/blog/advanced-go-concurrency)
|
||||||
|
|
Loading…
Reference in New Issue