Open sahu04 opened 10 months ago
Description: SonarQube is a static code analysis tool that helps identify bugs, vulnerabilities, and code smells in software projects. It provides detailed reports and insights to improve code quality and maintainability throughout the development lifecycle.Configure SonarQube in Azure Pipelines for automated code scanning, Install SonarQube, integrate it into your pipeline, and analyze code quality continuously to catch issues early and ensure high-quality code.
Approach:
Business value:
Acceptance criteria :
Approach
manually Configure
Prerequisites
Process
1.create S3 bucket in main aws account
Create IAM role for S3 bucket & attached policy for access object 3.Create MSK cluster provisioned attached VPC, subnet(different AZ), Security Group broker- kafka.t3.small Kafka version- 2.8.1(recommended) 4.Create Custom Plugin download s3 sink connector-https://www.confluent.io/hub/confluentinc/kafka-connect-s3 and uploaded zip file into s3 bucket MSK connect > custom plugin> s3 bucket 5.Create VPC endpoint service name & type - com.amazonaws.us-east-1.s3 & Gateway 6.create Client Machine(EC2 Instance) with IAM role instance type - t3a.small AMI - Amazon Linux 2 AMI (HVM) - Kernel 5.10, SSD Volume Type connect Ec2 terminal> install Kafka > install AWS CLI >Install Java > create Topic 7.create connector MSK connect> choose connector >existing plugin > add connector configure > IAM role for s3 bucket 8.send backup data to s3 bucket create producer and add some massage S3 bucket - MSK cluster data available in topic folder.
AWS MSK cluster backup into another AWS account. 1.create S3 bucket in account B and attached bucket policy. 2.Account A create IAM role for s3 bucket change trust policy for cross account access.
Restore data From S3 bucket to AWS MSK cluster into same AWS account. 1.downloaded s3 source connector-https://www.confluent.io/hub/confluentinc/kafka-connect-s3-source and uploaded into S3 bucket. 2.create Custom plugin MSK connect > custom plugin> choose s3 bucket 3.create connector MSK connect> choose connector >existing plugin > add connector configure > IAM role for s3 bucket Note : connector getting fails