Yes it's colostrum, and it's triggered by nipple stimulation (your shirt rubbing against them, water, orgasm, etc.) and depending on how much colostrum your body is storing you may get more or less as you get farther into your pregnancy.
Hope it helps. xx