<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 09:05:28 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>MongoDB Jira</title>
    <link>https://jira.mongodb.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.7.1</version>
        <build-number>970001</build-number>
        <build-date>13-04-2023</build-date>
    </build-info>


<item>
            <title>[KAFKA-56] This script requires curl.</title>
                <link>https://jira.mongodb.org/browse/KAFKA-56</link>
                <project id="16285" key="KAFKA">Kafka Connector</project>
                    <description>&lt;p&gt;Hi Ross,&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;I have running the docker-compose.yml of the [repository|&lt;a href=&quot;https://github.com/mongodb/mongo-kafka/tree/master/docker&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-kafka/tree/master/docker&lt;/a&gt;] and edit some of it like the file I have attached.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;The problem is that in the last step of running the connector, I face with the following error:&lt;/p&gt;

&lt;p&gt;WARNING: Could not reach configured kafka system on &lt;a href=&quot;http://localhost:8082&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://localhost:8082&lt;/a&gt; &lt;br/&gt;
Note: This script requires curl.&lt;/p&gt;

&lt;p&gt;What should I do to solve this problem?&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;Thanks,&lt;/p&gt;

&lt;p&gt;Mostafa&lt;/p&gt;</description>
                <environment>Ubuntu 18, Docker 19, Docker-compose 1.24</environment>
        <key id="899851">KAFKA-56</key>
            <summary>This script requires curl.</summary>
                <type id="3" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14718&amp;avatarType=issuetype">Task</type>
                                            <priority id="3" iconUrl="https://jira.mongodb.org/images/icons/priorities/major.svg">Major - P3</priority>
                        <status id="6" iconUrl="https://jira.mongodb.org/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="13202">Works as Designed</resolution>
                                        <assignee username="ross@mongodb.com">Ross Lawley</assignee>
                                    <reporter username="mostafa.ghadimi76@gmail.com">Mostafa Ghadimi</reporter>
                        <labels>
                    </labels>
                <created>Mon, 19 Aug 2019 12:50:15 +0000</created>
                <updated>Fri, 27 Oct 2023 11:54:16 +0000</updated>
                            <resolved>Mon, 19 Aug 2019 13:11:29 +0000</resolved>
                                    <version>0.1</version>
                    <version>0.2</version>
                                                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="2377019" author="mostafa.ghadimi76@gmail.com" created="Mon, 19 Aug 2019 13:22:06 +0000"  >&lt;p&gt;Hi @Ross,&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;I have also asked a [question on stackoverflow|&lt;a href=&quot;https://stackoverflow.com/questions/57544201/implement-dockerized-kafka-sink-connector-to-mongo&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://stackoverflow.com/questions/57544201/implement-dockerized-kafka-sink-connector-to-mongo&lt;/a&gt;]. These docker-compose, Dockerfile and run.sh files are so complicated for my purpose. Is there any minimal configuration to connect kafka to mongodb without any issue?&lt;/p&gt;

&lt;p&gt;Would you please upload the one or instruct me how to do that?&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;Thanks,&lt;/p&gt;

&lt;p&gt;Mostafa&lt;/p&gt;</comment>
                            <comment id="2376998" author="ross@10gen.com" created="Mon, 19 Aug 2019 13:10:57 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=mostafa.ghadimi76%40gmail.com&quot; class=&quot;user-hover&quot; rel=&quot;mostafa.ghadimi76@gmail.com&quot;&gt;mostafa.ghadimi76@gmail.com&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If you change the docker file then the &lt;tt&gt;run.sh&lt;/tt&gt; script will also have to be updated.  The reason you are seeing the error is because: &lt;tt&gt;WARNING: Could not reach configured kafka system on &lt;a href=&quot;http://localhost:8082&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://localhost:8082&lt;/a&gt;&lt;/tt&gt;.  Which is the rest proxy.  It may be easier to create your own script once you are happy with the docker-compose steps required to get your system working.&lt;/p&gt;

&lt;p&gt;For your own example you may want to change the script so it loads the MongoDB Kafka connector from the &lt;a href=&quot;https://www.confluent.io/hub/mongodb/kafka-connect-mongodb&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;confluent hub&lt;/a&gt; rather than building it via gradle.  Check out the &lt;a href=&quot;https://github.com/mongodb/mongo-kafka/blob/master/docker/Dockerfile&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Dockerfile&lt;/a&gt; as that has an example of loading the a connector (in this case its the  datagen connector).&lt;/p&gt;

&lt;p&gt;Just to let you know for future reference this project is for Kafka connector bugs or feature requests. The best place for questions regarding MongoDB usage or the Kafka connector specifics is the &lt;a href=&quot;https://groups.google.com/forum/#!forum/mongodb-user&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;mongodb-user mailinglist&lt;/a&gt; or &lt;a href=&quot;http://stackoverflow.com&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;stackoverflow&lt;/a&gt; as you will reach a broader audience there.  If your business requires an answer from MongoDB within a time frame then we do offer &lt;a href=&quot;https://www.mongodb.com/products/production-support&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;production support&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;If you do follow up via one of the options above please post a link and I will follow the conversation there.&lt;/p&gt;

&lt;p&gt;I hope that helps,&lt;/p&gt;

&lt;p&gt;Ross&lt;/p&gt;</comment>
                            <comment id="2376982" author="mostafa.ghadimi76@gmail.com" created="Mon, 19 Aug 2019 12:59:30 +0000"  >&lt;p&gt;&lt;b&gt;P.S.:&lt;/b&gt; I also have curl installed on my local computer.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="227606" name="docker-compose.yml" size="3258" author="mostafa.ghadimi76@gmail.com" created="Mon, 19 Aug 2019 12:50:06 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hvah93:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                </customfields>
    </item>
</channel>
</rss>