ISE Developer Blog

Debugging Java Dapr-enabled Apps in GitHub Codespaces

To simplify the development and debugging of complex Java Dapr-enabled microservices we recommend leveraging Docker Compose to define all services including the Java Apps, each with its own Dapr sidecar, plus infrastructure/dependent services all these running in individual containers. Using a VS Code devcontainer with Docker-in-Docker support, enabling Java extensions, and installing Maven and OpenJDK. Creating a new GitHub Codespaces instance and finally employing VS Code to attach to a remote Java process for debugging purposes.

Building a Custom Spark Connector for Near Real-Time Speech-to-Text Transcription

This post describes in detail the Azure Cognitive Services speech-to-text WebSocket protocol and shows how to implement the protocol in Java. This enables us to transcribe audio to text in near real-time. We then show how to feed the transcribed radio into a pipeline based on Spark Streaming for further analysis, augmentation, and aggregation. The Java client is reusable across a wide range of text-to-speech scenarios that require time-efficient speech-to-text transcription in more than 10 languages including English, French, Spanish, German and Chinese.