SQS to PubSub Conversion
Convert any Amazon SQS api call to a Google Cloud Pubsub call
Steps:
1. Download Cloud Sidecar
2. Setup config (example):

aws_configs:
  sqs:
    service_type: "sqs"
    port: 3460
    aws_destination_config:
      name: "example"
      access_key_id: "bleh"
      secret_access_key: "bleh"
    gcp_destination_config:
      name: "example"
      key_file_location: "/location/to/gcp/creds.json"
      project: "project name here"
      pub_sub_config:
        read_timeout: "10s"
3. Follow one of the simple examples below in python or java

Python

import boto3
import os

client = boto3.resource(
    "sqs",
    region_name="us-east",
    endpoint_url='http://localhost:3460',
)
queue_url = "https://sqs.us-east-1.amazonaws.com/someid/queue-url"

response = sqs.receive_message(
    QueueUrl=queue_url,
    AttributeNames=[
        'SentTimestamp'
    ],
    MaxNumberOfMessages=1,
    MessageAttributeNames=[
        'All'
    ],
    VisibilityTimeout=30,
    WaitTimeSeconds=5
)
message = response['Messages'][0]
Java

import com.amazonaws.services.sqs.AmazonSQSClientBuilder;
import com.amazonaws.services.sqs.model.AmazonSQSException;
import com.amazonaws.services.sqs.model.SendMessageBatchRequest;


final AmazonSQS sqs = AmazonSQSClientBuilder
    .standard()
    .withEndpointConfiguration(new EndpointConfiguration("http://localhost:3460", Regions.US_EAST_1.getName))
    .build()

List messages = sqs.receiveMessage(queueUrl).getMessages();