[
https://issues.apache.org/jira/browse/NIFI-2445?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15402034#comment-15402034
]
Oleg Zhurakousky commented on NIFI-2445:
----------------------------------------
Mark, I am not sure that this is correct. I've just tested it and I do not see
any files going to SUCCESS since the exception during
_this.kafkaProducer.send(message)_ will be caught only at line:199 of
AbstractKafkaProcessor which does the following:
{code}
} catch (Throwable e) {
this.acceptTask = false;
session.rollback(true);
this.getLogger().error("{} failed to process due to {}; rolling
back session", new Object[] { this, e });
{code}
Please advise
> PublishKafka sends flowfiles to 'success' if not authorized to write to topic
> -----------------------------------------------------------------------------
>
> Key: NIFI-2445
> URL: https://issues.apache.org/jira/browse/NIFI-2445
> Project: Apache NiFi
> Issue Type: Bug
> Components: Extensions
> Reporter: Mark Payne
> Assignee: Oleg Zhurakousky
> Priority: Blocker
> Fix For: 1.0.0, 0.8.0
>
>
> I have a PublishKafka processor configured to write to a kafka topic that I
> am not authorized to write to (via PLAINTEXT_SASL configuration). When I
> attempt to send a message to Kafka, I get a stack trace telling me that I am
> not authorized but the FlowFile is still routed to 'success'
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)