zalando / nakadi

A distributed event bus that implements a RESTful API abstraction on top of Kafka-like queues
https://nakadi.io
MIT License
952 stars 292 forks source link

Use ThreadLocalRandom for partitioning #1456

Closed a1exsh closed 2 years ago

a1exsh commented 2 years ago

The Random class is synchronized, but we don't need that for our use case.

adyach commented 2 years ago

👍

a1exsh commented 2 years ago

:+1: