Skip to content

Instantly share code, notes, and snippets.

View moarychan's full-sized avatar

Moary Chen moarychan

  • Chinasoft
  • Xi'an, China
  • 06:29 (UTC +08:00)
View GitHub Profile

Properties enhancement analytics

Currently, the Service Bus Binder does not support to create topic or queue with any topic options. See more from customer-reported issue: Azure/azure-sdk-for-java#35435

Prepare to support the following two high-priority properties:

  • Default message timespan to live value.
  • Maximum size of the topic or queue in megabytes, which is the size of memory allocated for the queue.

Next, we wil compare RabbitMQ binder and Kafka binder, and output the conclusion.

@moarychan
moarychan / add-azure-sdk-bom-in-spring-boot3-webflux-app.txt
Created July 18, 2022 08:46
Add azure-sdk-bom in Spring Boot 3 webflux application
[INFO] Scanning for projects...
[INFO]
[INFO] ----------------< com.example:demo-storage-queue-issue >----------------
[INFO] Building demo-storage-queue-issue 0.0.1-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:3.2.0:clean (default-clean) @ demo-storage-queue-issue ---
[INFO]
[INFO] --- maven-dependency-plugin:3.3.0:tree (default-cli) @ demo-storage-queue-issue ---
[INFO] com.example:demo-storage-queue-issue:jar:0.0.1-SNAPSHOT
@moarychan
moarychan / no-azure-sdk-in-spring-boot3-webflux-app.txt
Created July 18, 2022 08:24
No Azure SDKs dependencies in Spring Boot 3 webflux application
[INFO] Scanning for projects...
[INFO]
[INFO] ----------------< com.example:demo-storage-queue-issue >----------------
[INFO] Building demo-storage-queue-issue 0.0.1-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:3.2.0:clean (default-clean) @ demo-storage-queue-issue ---
[INFO]
[INFO] --- maven-dependency-plugin:3.3.0:tree (default-cli) @ demo-storage-queue-issue ---
[INFO] com.example:demo-storage-queue-issue:jar:0.0.1-SNAPSHOT
@moarychan
moarychan / no-azure-sdk-in-spring-boot3-app.txt
Created July 18, 2022 04:05
No Azure SDKs in Spring Boot 3 application
[INFO] Scanning for projects...
[INFO]
[INFO] ----------------< com.example:demo-storage-queue-issue >----------------
[INFO] Building demo-storage-queue-issue 0.0.1-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:3.2.0:clean (default-clean) @ demo-storage-queue-issue ---
[INFO]
[INFO] --- maven-dependency-plugin:3.3.0:tree (default-cli) @ demo-storage-queue-issue ---
[INFO] com.example:demo-storage-queue-issue:jar:0.0.1-SNAPSHOT
@moarychan
moarychan / add-azure-sdk-in-spring-boot3-webflux-app.txt
Created July 18, 2022 04:04
Ass Azure SDKs in Spring Boot 3 webflux application
[INFO] Scanning for projects...
[INFO]
[INFO] ----------------< com.example:demo-storage-queue-issue >----------------
[INFO] Building demo-storage-queue-issue 0.0.1-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:3.2.0:clean (default-clean) @ demo-storage-queue-issue ---
[INFO]
[INFO] --- maven-dependency-plugin:3.3.0:tree (default-cli) @ demo-storage-queue-issue ---
[INFO] com.example:demo-storage-queue-issue:jar:0.0.1-SNAPSHOT
@moarychan
moarychan / add-azure-sdk-in-spring-boot3-app.txt
Created July 18, 2022 04:02
Add Azure SDKs IN Spring Boor 3 application
[INFO] Scanning for projects...
[INFO]
[INFO] ----------------< com.example:demo-storage-queue-issue >----------------
[INFO] Building demo-storage-queue-issue 0.0.1-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:3.2.0:clean (default-clean) @ demo-storage-queue-issue ---
[INFO]
[INFO] --- maven-dependency-plugin:3.3.0:tree (default-cli) @ demo-storage-queue-issue ---
[INFO] com.example:demo-storage-queue-issue:jar:0.0.1-SNAPSHOT
@moarychan
moarychan / AzureSleuthUsages.java
Created December 7, 2021 07:07
Demonstrates how to make the spring-cloud-azure-trace-sleuth enabled
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
package com.azure.spring.cloud.autoconfigure.trace.sleuth;
import com.azure.spring.cloud.autoconfigure.storage.blob.properties.AzureStorageBlobProperties;
import com.azure.spring.core.factory.AbstractAzureHttpClientBuilderFactory;
import com.azure.spring.core.trace.sleuth.AzureHttpClientBuilderFactoryBeanPostProcessor;
import com.azure.spring.service.storage.blob.BlobServiceClientBuilderFactory;
import com.azure.spring.tracing.sleuth.SleuthHttpPolicy;