does pinot handle kafka transactions and ignore un...
# troubleshooting
d
does pinot handle kafka transactions and ignore uncommitted messages? we're setting
"stream.kafka.consumer.prop.auto.isolation.level": "read_committed",
in our realtime table, but it also seems like it is processing uncommitted messages
k
we use the open source kafka consumer and pass the properties you specify in table config to the underlying consumer
haven't tried this setting in practice, so hard to say if its pinot issue or kafka issue
d
got it. are you aware of anyone in the community that is using
read_committed
successfully?
k
no, we did not use it at LinkedIn either
d
😞
what version of kafka consumer are we using?
x
I think the config should be
Copy code
"stream.kafka.consumer.prop.isolation.level"
we are using kafka 2.0
d
thanks Xiang!
so we don't need the
auto
thing?
x
no
i guess you copied it from auto.offset.reset:)
d
our config is:
Copy code
"stream.kafka.consumer.prop.auto.isolation.level": "read_committed",
        "stream.kafka.consumer.prop.auto.offset.reset": "smallest",
        "stream.kafka.consumer.prop.group.id": "enriched_orders_e5ad3940-f312-40ee-882f-4e4c979f6813",
        "stream.kafka.consumer.prop.client.id": "d85b6d0b-c75f-4179-bc70-32be1a7c5a85",
x
everything after prop. will be chopped and send to consumer config
yeah
d
so yea, looks like we copied
auto.offset.reset
. that was going to be my next question, should we drop
auto
from that, but sounds like no
x
no
d
got it
x
this is exactly the kafka consumer config
d
thank you so much @Xiang Fu!
s
I assume you are using llc. In LLC, we don't commit kafka offsets. Instead,it is a pull model where we pull from the offsets as needed within a single partition
x
this transaction concept is within kafka with kafka producer