[KAFKA-354] Mongo Source Connector is not working as expected with AvroConverter Created: 21/Feb/23  Updated: 27/Oct/23  Resolved: 22/Mar/23

Status: Closed
Project: Kafka Connector
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Blocker - P1
Reporter: Harish Sharma Assignee: Ross Lawley
Resolution: Gone away Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File image-2023-02-21-14-25-55-443.png    

 Description   

Hi Team,

I am trying to use the AvroConverter with MongoSource Connector flow is working fine but when I look the schema in the repository then I see like 

 

 

Here is my Configuration for Source Connector.

connector.class=com.mongodb.kafka.connect.MongoSourceConnector
connection.uri=mongodb://localhost:27017/?replicaSet=rs0
database=Tutorial1
collection=orders

output.format.value=json
output.format.key=json
key.converter.schemas.enable=false
value.converter.schemas.enable=false
key.converter=org.apache.kafka.connect.storage.StringConverter
value.converter=io.confluent.connect.avro.AvroConverter
value.converter.schema.registry.url=http://localhost:8081

 



 Comments   
Comment by PM Bot [ 22/Mar/23 ]

There hasn't been any recent activity on this ticket, so we're resolving it. Thanks for reaching out! Please feel free to comment on this if you're able to provide more information.

Comment by PM Bot [ 07/Mar/23 ]

Hey waytohksharma@gmail.com, We need additional details to investigate the problem. If this is still an issue for you, please provide the requested information.

Comment by Ross Lawley [ 22/Feb/23 ]

Hi waytohksharma@gmail.com,

Many thanks for the ticket. Could you provide more detail on the bug? Either a full stacktrace or a test case to reproduce the error. Ideally, a minimal reproducible example would help as I could replicate the bug and use it as a test case for the fix.

Alternatively, here are some resources to get this question answered more quickly:

  • Our MongoDB support portal, located at support.mongodb.com
  • Our MongoDB community portal, located here
  • If you are an Atlas customer, there is free support offered 24/7 in the lower right hand corner of the UI

All the best,

Ross

Generated at Thu Feb 08 09:06:11 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.