How to access Comment with CommentService?

Hi there,

I’m struggling to access Comment that comes with commit.

I see that in the CommentService there is a method getComment(long commentId) .
But how do I know the commentId?

Suppose I have something like

commitService.streamChanges(changesReq, change -> {
String fileName = change.getPath().toString();

			// HERE I NEED TO ACCESS THE COMMENT WHICH COMES WITH COMMIT

			return true;
		});