Skip to content

Instantly share code, notes, and snippets.

@DmitryevichD
Last active August 15, 2022 08:31
Show Gist options
  • Select an option

  • Save DmitryevichD/b3dc30daae44ab1ca3f36c865fa7c1c2 to your computer and use it in GitHub Desktop.

Select an option

Save DmitryevichD/b3dc30daae44ab1ca3f36c865fa7c1c2 to your computer and use it in GitHub Desktop.
[aristocrat] #minio

export files to minio

To add minio to service I am going to do (estimate arond 10d):

  • add a spring-boot dependency to work with minio (ncube-reporting-batch-processor) 5d
  • add a spring-boot dependency to work with minio (ncube-reporting-configuration-application) 5d
  • create a property flag that can on\off this functional (It's set to off by default)
  • add a logic to the ReportPDFWriter and ReportPDFWriter classes
  • add tests

concern about dev process:

  • which branch should be used to merge the minio changes?
  • who will do a code review and tests?

concern about infra:

  • we should create minio backets in the each latyer (dev, test, preprod, prod)

I guess a more elegant solution is to use the Minio as the a volume mount in the pod. I looked the s3fs-fuse and it can do it. Looking at the number of stars (6K) this is a popular approach. As an additional plus, if we want to change a storage to something else, we don't have to add any adapter to java code and we can do it transparently for dev the team.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment