[
https://issues.apache.org/jira/browse/MINIFICPP-959?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16896152#comment-16896152
]
Mr TheSegfault commented on MINIFICPP-959:
------------------------------------------
finally [~le.nghia] this would be a good opportunity to break out some of the
classes into their own source files so that they can be more verified that
tests exist through an automated framework.
> Review librdkafka thread safety
> -------------------------------
>
> Key: MINIFICPP-959
> URL: https://issues.apache.org/jira/browse/MINIFICPP-959
> Project: Apache NiFi MiNiFi C++
> Issue Type: Bug
> Reporter: Daniel Bakai
> Assignee: Nghia Le
> Priority: Major
>
> I don't think librdkafka is doing what it is supposed to around the
> KafkaLease and the atomic spinlock combined with mutexes.
> It is thread safe in a way that resources are only accessed by one thread at
> a time, but the behaviour otherwise is I think not what was intended
> (multiple threads can initialize a KafkaConnection after each other, for
> example).
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)