manifoldcf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tugba Dogan (JIRA)" <>
Subject [jira] [Commented] (CONNECTORS-1162) Apache Kafka Output Connector
Date Tue, 21 Jul 2015 23:23:05 GMT


Tugba Dogan commented on CONNECTORS-1162:

Hi Karl,

I fixed my code according to your feedback. I tried to use "when().thenReturn()" pattern.
 However, still it gives an error. I'm not sure but I think that as "KafkaConfig.TOPIC" parameter
is not specified in test code, record parameter cannot be created in line:
"ProducerRecord record = new ProducerRecord(params.getParameter(KafkaConfig.TOPIC), finalString);"

When I use "topic" string instead of "params.getParameter(KafkaConfig.TOPIC)", it gives error
because of the line:

This error can be caused by asynchronous work of send() method. However, I couldn't fix them.

You can look at the screen shots that shows error from the link:

Here is the commit link:

> Apache Kafka Output Connector
> -----------------------------
>                 Key: CONNECTORS-1162
>                 URL:
>             Project: ManifoldCF
>          Issue Type: Wish
>    Affects Versions: ManifoldCF 1.8.1, ManifoldCF 2.0.1
>            Reporter: Rafa Haro
>            Assignee: Karl Wright
>              Labels: gsoc, gsoc2015
>             Fix For: ManifoldCF 1.10, ManifoldCF 2.2
>         Attachments: 1.JPG, 2.JPG
> Kafka is a distributed, partitioned, replicated commit log service. It provides the functionality
of a messaging system, but with a unique design. A single Kafka broker can handle hundreds
of megabytes of reads and writes per second from thousands of clients.
> Apache Kafka is being used for a number of uses cases. One of them is to use Kafka as
a feeding system for streaming BigData processes, both in Apache Spark or Hadoop environment.
A Kafka output connector could be used for streaming or dispatching crawled documents or metadata
and put them in a BigData processing pipeline

This message was sent by Atlassian JIRA

View raw message