Skip to content

Not able to create file writer with NewS3FileWriterWithClient() for minio source #69

@charleenklang

Description

@charleenklang

Hello,
I am trying to create a file writer with minio source using NewS3FileWriterWithClient.

fileWriter, err := minio.NewS3FileWriterWithClient(
	context.Background(),
	minioClient,
	bucketName,
	objectName,
)

As minio client I am using the minio go client :

minioClient, err := origMinio.New("<minio-endpoint>", &origMinio.Options{
        Creds:  credentials.NewStaticV4("<access-key-id>", "<access-key>", ""),
        Secure: true,
		Transport: &http.Transport{
			TLSClientConfig: &tls.Config{InsecureSkipVerify: true},
		},
    })

I am using self signed certificates that is why I am using InsecureSkipVerify for my testing purposes right now.

For some reason NewS3FileWriterWithClient() does not return anything, neither an error nor anything else. Does anybody know what I could do?

Thanks for helping :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions