How can 30 ml of water be heated in less than 10 seconds?
Well, let's do some math:

Assuming 30 mL of water is 30 g, and we want to heat our water from 20 °C to 90 °C, the energy required is:
$$\begin{align}E&amp;=C_Pm\Delta K \\ 
&amp;=\left(4.18 \mathrm{\frac{ J}{gK}}\right)(30\mathrm{\ g})(70\mathrm{\ K})\\
&amp;=8.778\mathrm{\ kJ}\end{align}$$

So how much power do we need to do this in a given time? "Instant" doesn't really mean anything, so let's go with 10 seconds:

$$\begin{align}P&amp;=\frac{E}{t}\\
&amp;=\frac{8778\mathrm{\ J}}{10\mathrm{\ s}}\\
&amp;=877.8 \mathrm{\ W}\end{align}$$

This is not an enormous amount of power, but the trick is that it all has to go into heating the water. A good microwave outputs a fair bit more power than this, but it generally doesn't all get absorbed by such a such a small amount of water in only 10 seconds. Your best bet is probably an electric heating element directly inserted into the liquid, though I don't know if you can get a ~1000 W one small enough to sit in that much water.

As Jon Custer notes, it's not necessary to produce all the heat at once. If you heat some kind of thermal reservoir and flow the liquid past/through it, it reduces the demands on your heat source.



Edit: Also, I just tried this with a 1200 W microwave and it only took 15 seconds. How fast do you really need this coffee?