Questions tagged with Java Development
Content language: English
Select up to 5 tags to filter
Sort by most recent
Browse through the questions and answers listed below or filter and sort to narrow down your results.
I am writing a Spark Job in Java for execution on AWS Glue. It attempts to connect to a Postgres database using the glueContext.getSource() method. It is failing with the following...
2
answers
0
votes
401
views
asked a year agolg...
My goal is to stream the Postgres WAL inside a system that runs on the JVM. I am using Aurora RDS Postgres.
If I try to run the following:
```
PGReplicationStream stream =
...
1
answers
0
votes
353
views
asked a year agolg...
Hi,
I have installed the AWS PKCS#11 library from on Ubuntu. When I search for the PKCS#11 .so file inside **/opt/cloudhsm** I couldn't see any. The only set of .h files I see is:...
0
answers
0
votes
57
views
asked a year agolg...
I have a CDK script that tries to create an ECS cluster, task, and ApplicationLoadBalancedEc2Service, but when I deploy it the Ec2 instance is created, but it is not registered with the LB target...
2
answers
0
votes
669
views
asked a year agolg...
I need to get data about resource creation (by which user, when) and for that i am using CloudTrailClient. I tried looking up event by resource name attribute, and works fine for EC2 resource but not...
1
answers
0
votes
242
views
asked a year agolg...
I am new to aws, I tried to use aws lambda using code hooks with aws lex. Python code was working fine to fulfill all events but when I am trying similar code with Java it is not working. Can anybody...
1
answers
0
votes
266
views
asked a year agolg...
Planning to build a Java (Spring Batch) based service (hosted in ECS) to sync data between two databases (A& B) in certain intervals. Expected no of records to be fetched from A likely less than 10K....
1
answers
0
votes
217
views
asked a year agolg...
I am using the below code to get the contents of the object.
```
s3Client.getObject(s3Bucket, s3Key).getObjectContent();
```
In the above code does getObject and getObjectContent download the object...
1
answers
0
votes
292
views
asked a year agolg...
My lambda takes a long time to do the first operation with an aws client.
For example I am performing a query on the index through the dynamoDB client and the first execution takes 2 seconds, while in...
1
answers
0
votes
263
views
asked a year agolg...
I need to use **LookupEvents** API provied by Cloudtrial to periodically fetch events. Initially I set a **StartTime **parameter to something initially, and fetched all events. The after some time...
1
answers
0
votes
251
views
asked a year agolg...
Java 17 is not supported by aws lambda. I need to create a lambda function using spring cloud and java 17 as base image. What dependencies i must install in my java 17 base image?
1
answers
0
votes
800
views
asked a year agolg...
Hello,
I'm using Java CDK to create a new ECR instance. Here is a code fragment:
Repository.Builder.create(scope, id).imageScanOnPush(true)
...
3
answers
0
votes
316
views
asked a year agolg...