Skip to content
This repository was archived by the owner on Aug 22, 2025. It is now read-only.
This repository was archived by the owner on Aug 22, 2025. It is now read-only.

How to change the connection timeout,default 1000* 10 #180

Description

@lix09

Hello everyone
last ,I use mongodb spark ,but when writen data to mongodb db ,the connection socket error. error tips come out com.mongodb.MongoTimeoutException: Timed out after 10000 ms while waiting to connect
I find the source but not find how to make the connectTimeout to take effect

                                                                           thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions