Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions doc_source/with-kinesis-create-package.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ import com.amazonaws.services.lambda.runtime.events.KinesisEvent.KinesisEventRec

public class ProcessKinesisRecords implements RequestHandler<KinesisEvent, Void>{
@Override
public Void recordHandler(KinesisEvent event, Context context)
public Void handleRequest(KinesisEvent event, Context context)
{
for(KinesisEventRecord rec : event.getRecords()) {
System.out.println(new String(rec.getKinesis().getData().array()));
Expand Down Expand Up @@ -158,4 +158,4 @@ func handler(ctx context.Context, kinesisEvent events.KinesisEvent) {
}
```

Build the executable with `go build` and create a deployment package\. For instructions, see [AWS Lambda Deployment Package in Go](lambda-go-how-to-create-deployment-package.md)\.
Build the executable with `go build` and create a deployment package\. For instructions, see [AWS Lambda Deployment Package in Go](lambda-go-how-to-create-deployment-package.md)\.