Skip to content

datmt

  • Home
  • Tutorials
    • backend
      • java
        • spring
        • JPA
        • javaee
    • devops
    • frontend
    • Linux
    • NoSQL Databases
  • Privacy Policy
  • Cookie Policy (EU)
  • Contact

multi-threading

Fix Null SecurityContext In Spring Multi-Threading (@Async)

June 14, 2023 by Đạt Trần
Fix Null SecurityContext In Spring Multi-Threading

Overview When you start using multiple threads in Spring applications, many funny things happen. At least this was my experience. My use case is I have one endpoint that takes an audio file. The file would go through two services: As I want to return the result of the speech-to-text service immediately, the upload part … Read more

Categories java Tags @async, multi-threading, spring Leave a comment
  • Architecture
  • backend
  • Clean Code
  • Cloud Computing
  • Databases
  • devops
  • frontend
  • fundamental
  • General Tips
  • git
  • java
  • javaee
  • JPA
  • kubernetes
  • Linux
  • management
  • mobile development
  • network
  • NoSQL Databases
  • opensource
  • python
  • quarkus
  • Relational Databases
  • scala
  • Security
  • spring
  • SQL
  • System Design
  • WordPress Development

Copyright Ⓒ datmt

© 2025 datmt • Built with GeneratePress