Skip to content

Commit f29f105

Browse files
authored
Update MSKFirehoseEventHandler.java
Changed packaging for event handler.
1 parent 5abcb06 commit f29f105

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

samples/msk-firehose-event-handler/src/main/java/example/MSKFirehoseEventHandler.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
import com.amazonaws.services.lambda.runtime.Context;
44
import com.amazonaws.services.lambda.runtime.RequestHandler;
5-
import model.MSKFirehoseResponse;
6-
import events.MSKFirehoseEvent;
5+
import com.amazonaws.services.lambda.runtime.events.MSKFirehoseResponse;
6+
import com.amazonaws.services.lambda.runtime.events.MSKFirehoseEvent;
77
import org.json.JSONObject;
88

99
import java.nio.ByteBuffer;
@@ -14,7 +14,7 @@
1414
* A sample MSKFirehoseEvent handler
1515
* For more information see the developer guide - <a href="https://docs.aws.amazon.com/firehose/latest/dev/data-transformation.html">...</a>
1616
*/
17-
public class Sample implements RequestHandler<MSKFirehoseEvent, MSKFirehoseResponse> {
17+
public class MSKFirehoseEventHandler implements RequestHandler<MSKFirehoseEvent, MSKFirehoseResponse> {
1818

1919
@Override
2020
public MSKFirehoseResponse handleRequest(MSKFirehoseEvent MSKFirehoseEvent, Context context) {

0 commit comments

Comments
 (0)